General discussion

Locked

IIS 5.0 - URLs Require WWW

By josh ·
The company I work for is using Windows 2000 Adv. Server for their web server. With IIS 5.0, all of our websites require WWW. infront of the URL

http://www.domain.com works fine, but http://domain.com returns an "Under Construction" page. I was wondering if anyone knew how to go about resolving this. I would like to make it so that the WWW is not required in the URL.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by p.j.hutchison In reply to IIS 5.0 - URLs Require WW ...

This is a dns issue, since www would have a dns record pointing to your web server, a domain.com is a web root possibly pointing to your DC server(s).
You could configure your DC, to redirect its IIS to point to www.domain.com to get round it. Its not recommended but it might work.

Collapse -

by p.j.hutchison In reply to

I am assuming here that the DC is the DNS server as well.

Collapse -

by BFilmFan In reply to IIS 5.0 - URLs Require WW ...

Your DNS records should show an Cname record or Alias for the www entry.

The AD domain name record will be a SOA record.

You cannot have a CName record with the same name as a SOA record.

Collapse -

by josh In reply to IIS 5.0 - URLs Require WW ...

Found out that it just needed a Host Header for both www and without www

Problem solved.

Collapse -

by TG2 In reply to IIS 5.0 - URLs Require WW ...

IF your web server in IIS is set up for virtual hosting, as in multiple web sites respond for the same IP address, then you need to edit the header info.

In iis, open the properties of the web site, the first tab is "Web Site" it has the "description" the IP Address, and the port .. next to IP address should be an Advanced button. Click the button, and here you should have "Multiple identities for this Web site".

If running in name based (host based) mode, you will see "www.domain_name.com"

the **Default** web site will have a "Default" and port 80 entry.. but a BLANK "Host Header Value".

If you add another "Host header value" of "domain_name.com" then this web site will also respond to just the domain name.

This assumes that your DNS is set up correctly, because you got an "under construction" page may mean that the dns is setup.. to verify, you can look up the host records at www.dnsstuff.com or you can open a command prompt and do a traceroute (tracert) to your www.domain_name.com and then repeat it with tracert domain_name.com .. if you get the same IP resolved, then DNS is setup.. and only the IIS settings need to be updated.

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums