Posted by:
trickthat
(---.ma.onecommunications.net)
I've edited the httpd.conf file to change the port and directory, but I'm having trouble adding virtual host.
I am running 3 different web apps at mydomain.com:80 mydomain.com2080 and mydomain.com:2050. I can do multiple domain names, but not multiple ports.. The server is NAT behind a firewall with port redirection. I tried adding
<VirtualHost *:2080>
ServerName www.mydomain.com:2080
DocumentRoot /www/2080domain
</VirtualHost>
<VirtualHost *:2050>
ServerName www.mydomain.com:2050
DocumentRoot /www/2050domain
</VirtualHost>
but neither port works. I know they are working as I shuffle them with the port 80 config so that the others are primary and whatever is primary always works while the others fail to load. What am I missing?