Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My domain is not resolving without using the www. subdomain.

I can't work out why... here is my current zone file: 86400 SOA 2012 10800 3600 604800 86400
*    86400   IN  A
*    86400   IN  MX  10  86400   IN  A  86400   IN  MX  10  86400   IN  MX  10  86400   IN  NS  86400   IN  NS  86400   IN  NS    86400   IN  A    86400   IN  MX  10 60  IN  A 86400   IN  MX  10 86400   IN  MX  20    86400   IN  A    86400   IN  MX  10    86400   IN  A 86400   IN  A 86400   IN  MX  10 86400   IN  A 86400   IN  CNAME

Can anyone spot why this wouldn't be working?

share|improve this question

migrated from Feb 27 '12 at 12:37

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

up vote 2 down vote accepted

Your DNS is fine and both and resolve to The issue is the configuration of the VirtualHosts. Follow the instructions here:

Or speak to your hosting provider.

share|improve this answer

Your domain resolves just fine, but your web server is configured to need the www part. You have to configure it so that it reacts to both and

How this is done is dependent on your OS and web server, which you don't state.

share|improve this answer

DNS seems to be fine. Opening a browser gives "No Virtual Host Configured", which leads me to believe you need to configure your web site with whatever the Linux/Unix equivalent of host headers is.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.