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?

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

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


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.

  • +1 for being the only one to consider the DNS side of it. – John Gardeniers May 8 '10 at 2:43

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


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


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy