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've added a new virtual host configuration to my stuff, I copied a configuration file for a live site that works, modified the 7 lines that it is and then a2ensite it, added it to /etc/hosts and it's not functioning. Google chrome is saying that it simply couldn't find the domain name, I'm wondering if it's even connected to my server. But I also duplicated the *, @, and www records to point to my server.

        -- REMOVED --

        DocumentRoot /home/benkuhl/public_html/

        ErrorLog /home/benkuhl/log/error_log
        TransferLog /home/benkuhl/log/access_log

Is there some place I'm missing to modify a file or something... I'm using enom as my domain host. I feel like I'm missing something on apache...

share|improve this question
up vote 2 down vote accepted

Are you trying to test this by adding it to /etc/hosts before creating an actual DNS record for the domain? From what I can see, neither nor have valid A or CNAME records.

If you're trying to test via /etc/hosts, then did you edit this file on your client or on the server? For testing purposes, you'd need to edit your client's hosts file, not the server's.

share|improve this answer
What do you mean testing via /etc/hosts ? It's my understanding that I have to have the domain listed or it won't work. – Webnet Nov 7 '10 at 3:51
Your understanding is wrong. It sounds like you just need to create DNS records for and, pointing to your server's IP. After doing that, you'll be good. – EEAA Nov 7 '10 at 4:25
Those DNS records already exist, I've contacted enom to figure out what's up.... – Webnet Nov 7 '10 at 15:26

i'd rather have commented on the question but with only 16 rep i cannot do that

i'm curious about you nslookup output

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.