This is my VirtualHost file
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html/backendtwo/ ServerName www.designer-school.com </VirtualHost> <VirtualHost *:80> DocumentRoot /var/www/html/ ServerName www.joshhornby.co.uk </VirtualHost>
joshhornby.co.uk is the root directory and the reason I am adding this is because after adding the first VirtualHost for designer-school.com any url on joshhornby such as joshhornby.co.uk/typewriter stops working. I can't access my blog posts either, try it out for your self joshhornby.co.uk is the address. The blog address are permalinked like this http://joshhornby.co.uk/post/web-course
As you can see this returns a 404.
My question is how can I serve two websites on the same server which doesn't stop one website from working as it should.