Multiple Vhost issues
Posted: 12. May 2009 06:50
hey, im running a website from home, and im wanting to run two wordpress blogs on it. so far, i have managed to get 1 running and have been using it for quite some time.
the issue now, is ive copied another wordpress file into the htdocs, where the other is, theyre named differently too, obviously, so i made a vhost go to the first and 2nd one. yet when i go to http://www.swiftarrowsworld.com/woe it shows it as non existant? and http://www.swiftarrowsworld.com still works.
the only way to get wordpress2 working is to change the first vhost document root to wordpress2...
current vhost setup
the issue now, is ive copied another wordpress file into the htdocs, where the other is, theyre named differently too, obviously, so i made a vhost go to the first and 2nd one. yet when i go to http://www.swiftarrowsworld.com/woe it shows it as non existant? and http://www.swiftarrowsworld.com still works.
the only way to get wordpress2 working is to change the first vhost document root to wordpress2...
current vhost setup
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName swiftarrowsworld.com/
DocumentRoot /opt/lampp/htdocs/wordpress
</VirtualHost>
<VirtualHost *:80>
ServerName swiftarrowsworld.com/woe
DocumentRoot /opt/lampp/htdocs/wordpress2
</VirtualHost>