D dmaksimov New Member May 20, 2008 #1 hey is it possilbe to have one site run on port 80 and another on port 8080 on apache
L leron8 New Member May 23, 2008 #2 yes, all you have to do is add these lines to the httpd.conf file... Listen 80 Listen 8080 NameVirtualHost ip address:80 NameVirtualHost ip address:8080 <VirtualHost ip address:80> ServerName www.example1.com DocumentRoot /www/domain-80 </VirtualHost> <VirtualHost ip address:8080> ServerName www.example1.com DocumentRoot /www/domain-8080 </VirtualHost> but the thing is that when you try to access the site running in port 8080, you will have to type http://www.domain.com:8080/
yes, all you have to do is add these lines to the httpd.conf file... Listen 80 Listen 8080 NameVirtualHost ip address:80 NameVirtualHost ip address:8080 <VirtualHost ip address:80> ServerName www.example1.com DocumentRoot /www/domain-80 </VirtualHost> <VirtualHost ip address:8080> ServerName www.example1.com DocumentRoot /www/domain-8080 </VirtualHost> but the thing is that when you try to access the site running in port 8080, you will have to type http://www.domain.com:8080/