|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Host Header - Require WWW in Domain Name
I am a bit new to IIS so go easy on me. I have a dedicated server through godaddy and they will not give me any support at all. In IIS when I right click on a domain and choose properties - Web Site - IP Address - Advanced I see a box with three columns, IP Address - Port - Host Header
I see two entries under advanced, as follows: xx.xxx.xxx.xxx 80 mydomain.com xx.xxx.xxx.xxx 80 www.mydomain.com Ok, so I thought if I remove the first one users would be required to use the www. When I browse to mydomain.com (w/out the www) after I remove that first entry instead of getting a page can't be found I get redirected to another website on my server, which happens to be the first website I set up by the way. This may lead to another issue that I am not that familiar with but may be the culprit. I use a wysiwyg interface called PLESK to set up my domains. Each and every domain I register (w/ godaddy) I specify the same name servers. Should each domain have their own nameservers and is this why this situation is happening. Tom
__________________
Today the world, tomorrow the universe... |
|
#2
|
|||
|
|||
|
The nameservers will be the same for all the domains on your server.
What is happening is because you have removed the mydomain.com header (but the DNS domain still exists) the users are now redirected to the default site using port80. What you can do is setup a new site in IIS and give it the header mydomain.com. You can then set a Redirect to the URL of you choice via the options under the Home Directory in the properties of the new site. |
|
#3
|
|||
|
|||
|
Sorry to get back to you so late on this. I opened up IIS on the server and went to websites. ALL the domains that were created by my wysiwyg program created the domains without the www prefix. Should they all have a www prefix?
|
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Host Header - Require WWW in Domain Name |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|