need to add VirtualHost
Posted: 21. September 2007 08:04
hello, I'm using the latest version of xampp but I have a small issue with it.
I need to add couple VirtualHosts.
I searched the internet and found this
<VirtualHost *:80>
ServerAdmin root@example.com
ServerName example.localhost
ServerAlias example.localhost
DocumentRoot C:\xampp\htdocs\example
</VirtualHost>
but instead of getting to this dir when typing example.localhost(page not found).
I get there when I type 'localhost'
can someone help me?
I need to add couple VirtualHosts.
I searched the internet and found this
<VirtualHost *:80>
ServerAdmin root@example.com
ServerName example.localhost
ServerAlias example.localhost
DocumentRoot C:\xampp\htdocs\example
</VirtualHost>
but instead of getting to this dir when typing example.localhost(page not found).
I get there when I type 'localhost'
can someone help me?