IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 27th, 2006, 05:31 PM
thall89553 thall89553 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,473 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 20 h 28 m 25 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
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...

Reply With Quote
  #2  
Old November 28th, 2006, 09:53 AM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 14
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.

Reply With Quote
  #3  
Old December 30th, 2006, 12:14 AM
thall89553 thall89553 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,473 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 20 h 28 m 25 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Host Header - Require WWW in Domain Name


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT