Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
03-18-2012, 04:27 PM #1
- Join Date
- Dec 2011
- Thanked 1 Time in 1 Post
Port 80 works. Using a diff. port w/ <virt host> to server diff. page does'nt
I have /etc/httpd/conf/httpd.conf set up fine to serve the index.html page on port 80.
I'm trying to use the virtualhost directive to get apache to send a different page on a different port.
I have this in httpd.conf:
<VirtualHost 192.168.0.2:81> DocumentRoot /var/www/html DirectoryIndex htmlside.html </VirtualHost>
When I type 192.168.0.2:81 to bring up the "different" page, I get nothing. I tried using port 10000 too - nothing.
Does anyone know what the problem is?