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

Hello and sorry if this is a duplicate, just couldn't find the answer... So i own and (from Godaddy). I forward both to my static ip. Web server is apache 2.2.23 with local ip of I have 2 virtual hosts :


DocumentRoot "C:/webroot/domainA"

DocumentRoot "C:/webroot/domainB"

For some reason, if i visit, takes over. I edited each CNAME for www: : www -> : www ->

But I'm not too sure about this part....

share|improve this question

Ok figured it out. I had to add NameVirtualHost and remove the www -> and use @ instead.

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.