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

I have recently bought a domain, and I have set up Windows DNS Server on my Server 2008 R2 machine to handle the DNS. To obtain the info you might need use this:

I am now trying to get Apache to serve the HTTP requests for the domain, but I really don't know where to start?

What I HAVE changed already (in httpd.conf): Listen ServerName

I haven't touched anything else...oh, and environment info: Full ownership of domain (registered with Windows DNS Server (Fully configured I believe). Windows Server 2008 R2. Apache 2.4.x + PHP 5.3.14 + MySQL (Not that this really means much?).

I previously used IIS7, and had it working after a lot of trial and error but I now want to use Apache due to it's expandability (and support for .htaccess amongst other things).

share|improve this question

migrated from Jul 13 '12 at 9:09

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

Looked into it further, and my DNS Server is definitely configured correctly, it simply seems that Apache doesn't recognise it needs to accept connections to my domain name, however it does accept connections through the IP Address. – Uniqu3 Jun 19 '12 at 8:56
up vote 0 down vote accepted

So I played around with the config file, and it seemed a bit weird that I had a port number on the 'ServerName' config line, so I remove the port and www. (I CNAME'd www. to the domain in my DNS server) and voila! ServerName

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.