Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I installed WordPress on my dedicated server, but had a bit of trouble getting httpd.conf to play nice...

I tried adding the following lines:

<VirtualHost *:80>
DocumentRoot /var/www/html/blog
ServerName blog.example.com


And set the file permissions as:

root@server [/var/www/html]# chown -R apache:apache blog/
root@server [/var/www/html]# chmod g+w blog/

But I think I did something wrong in the httpd.conf because the entire site stopped functioning.

share|improve this question

migrated from webmasters.stackexchange.com Dec 7 '10 at 14:04

This question came from our site for pro webmasters.

run a apachectl configtest then edit your post with the results –  Mike Dec 7 '10 at 14:11
1) Check the logs 2) What user is Apache running on? –  zaub3r3r Dec 7 '10 at 14:12
Hi @Mike, @zaub3r3r - please see serverfault.com/questions/210351/… –  matt74tm Dec 8 '10 at 9:01

Your Answer


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

Browse other questions tagged or ask your own question.