Virtualhost problems (not localhost)
Posted: 17. February 2013 05:47
Hi,
My virtualhosts keeps on flaking out on me.
I have a dyndns setup for my domain and have subdomains which I would like to use.
I need "forum.trgperth.tk", "bans.trgperth.tk", "www.trgperth.tk" and "trgperth.tk" (it has a .htaccess that redirects to www.trgperth.tk).
My vhosts.conf:
Any help would be appreciated.
My virtualhosts keeps on flaking out on me.
I have a dyndns setup for my domain and have subdomains which I would like to use.
I need "forum.trgperth.tk", "bans.trgperth.tk", "www.trgperth.tk" and "trgperth.tk" (it has a .htaccess that redirects to www.trgperth.tk).
My vhosts.conf:
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName "trgperth.tk"
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/www"
ServerName "www.trgperth.tk"
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/forum"
ServerName "forum.trgperth.tk"
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/bans"
ServerName "bans.trgperth.tk"
</VirtualHost>
Any help would be appreciated.