www.webdeveloper.com
Results 1 to 3 of 3

Thread: rewrite subdomain

  1. #1
    Join Date
    Mar 2003
    Location
    tunisie
    Posts
    3

    rewrite subdomain

    my site of sonneries logos

    i want to rewrite subdomain. without configuring it in dns.

    for example :
    if i write . http://xxx.sonneries-logos.info
    if the subdomain xxx exist than it will be dispalayed else

    the visitor will see the default page index.html of the main domain sonneries-logos.info.

  2. #2
    Join Date
    Nov 2002
    Posts
    63
    It's widely believe that the only good way to re-direct is with a 301

  3. #3
    Join Date
    Mar 2003
    Location
    Minneapolis
    Posts
    14
    I think you have to have either the subdomain listed in the DNS, OR a "wildcard" DNS entry that can catch it and re-direct it.

    I just tried wwwe.nielsentech.com and I get a server not found.

    The www.nielsentech.com and just nielsentech.com are susposed to be different things and not the same. However, most servers are set so both will work for all the lazy people that do not want to type in the "www".

    nielsentech.com is a domain, not a server.

    In www.nielsentech.com the www is the server address.
    Just as ftp.nielsentech.com is an ftp server address.

    Does that make sense?

    So for a request to reach xxx.nielsentech.com there has to be a DNS entry that can do something with that request.

    If your DNS could be set to send [anything].nielsentech.com to your site, then it may be possible with programming like PHP to see what the URL is that is being requested and then do a redirection from a scripted home page... But I'm not sure about this...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles