Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For my site i need to have www included but currently it's saying Under Construction when i go to the site with www.

For example:

www.example.com - gives me Under Construction
example.com - works fine

Where is this configured is it something in IIS or is it something the my ISP should configure?

share|improve this question
add comment

migrated from stackoverflow.com May 7 '10 at 23:50

This question came from our site for professional and enthusiast programmers.

4 Answers

If you nslookup www.example.com and nslookup example.com do they both resolve to the same address? If so then you need to set up the host header for the www one on the server. If not you will need to set up the 'A' record first then sort out the host header if required.

share|improve this answer
    
+1 for being the only one to consider the DNS side of it. –  John Gardeniers May 8 '10 at 2:43
add comment

Something your ISP should configure in IIS - assuming you use shared hosting you do that yourself somewhere in the control panel.

If you self-host.... go to IIS control panel and look at the site BINDINGS. You miss one for www.example.com

share|improve this answer
add comment

the www is the "subdomain"

your domain name has a configuration which allows you to say the servers which should handle connections to particular domains.

Normally you would configure *.yourdomain.com to point to the server you are hosting on using an "A" record.

Depending on how you have obtained your "website" you may or may not have access to these settings. Commonly the service provider takes care of this and hides it behind their own configuration interface.

You may also be able to use a redirection alias at the domain level to make *.yourdomain.com resolve to yourdomain.com

share|improve this answer
add comment

The best would be to configure IIS.

See it on xoc.net: IIS: Redirect a domain such as xoc.net to www.xoc.net.

Or see a more general guide at Microsoft Technet

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.