I'm having trouble setting up some virtual hosts using XAMPP. The machine name is server02.bb.net and is only accessible on the Intranet. I want other machines on the network to be able to see the virtual hosts I want to created.
I need dev.server02.bb.net and live.server02.bb.net
dev should point to - C:\xampp\htdocs\dev and live should point to C:\xampp\htdocs\live
The server is running on port 8080. When the user visits server02.bb.net from their browser, I'd like them to be pointed to the 'live' folder.
Hope someone can help!
Thanks
Edit:
My current vhosts.conf;
NameVirtualHost *:8080
<VirtualHost *:8080>
DocumentRoot C:\xampp\htdocs\live
ServerName localhost
</VirtualHost>
<VirtualHost *:8080>
DocumentRoot C:\xampp\htdocs\dev
ServerName dev.server02.bb.net
<Directory "C:\xampp\htdocs\dev">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Hosts.conf;
127.0.0.1 localhost
127.0.0.1 dev.localhost
127.0.0.1 dev.server02.bb.net
127.0.0.1 server02.bb.net