apache

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/
 
Back
Top