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

</VirtualHost>

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.

link|improve this question

71% accept rate
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
feedback

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

This question came from our site for pro webmasters.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.