virtual directories in apache using different ports
Posted by: trickthat (---.ma.onecommunications.net)
Date: June 11, 2009 05:13AM

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?

Options: ReplyQuote
Re: virtual directories in apache using different ports
Posted by: trickthat (---.ma.onecommunications.net)
Date: June 11, 2009 05:41AM

figured it out...not enough listens and new virtuals....duh...need to listen on all the ports...

Options: ReplyQuote


Sorry, only registered users may post in this forum.