Anyone have any suggestions on how to or has done name based virtual hosting in Apache? This is my setup:
-2 domain names from Register.com that I have them pointing to my IP.
-Linksys DSL/Cable Router that directs Port 80 to my Linux machine running Apache
I would like to be able to have the two domain names come in to the IP and then using the VirtualHost directive in httpd.conf direct each one to their individual DocumentRoot on the server. I've tried just using the example at the bottom of httpd.conf for virtual hosting but I think maybe since I have the router it's not passing everything to the machine??
Any suggestions? Thanks!
-2 domain names from Register.com that I have them pointing to my IP.
-Linksys DSL/Cable Router that directs Port 80 to my Linux machine running Apache
I would like to be able to have the two domain names come in to the IP and then using the VirtualHost directive in httpd.conf direct each one to their individual DocumentRoot on the server. I've tried just using the example at the bottom of httpd.conf for virtual hosting but I think maybe since I have the router it's not passing everything to the machine??
Any suggestions? Thanks!