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 a dedicated server running centos 5.5. I have been messing around with a virtual website via webmin and I think the apache settings messed up some how. When i type in the url without the www. it works fine but if I enter www. it goes to 403 error page

share|improve this question

migrated from Apr 21 '11 at 21:36

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

Do you have a ServerName or ServerAlias on a block that specifies one name ( but not the other ( – Borealid Apr 21 '11 at 4:57

It seems like apache loads your default vhost (in case it doesn't find the requested ServerName). Check the configuration files yourself for missing ServerAlias. You can also add CNAME record if you own the domain zone.

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.