Using Win 2000 Server and Apache 2
I am trying to host my sites on an alternate port, using :8787 instead of :80. I use DNS2GO for my dynamic IP resoulution, and I made a setting in each of my domain names to "forward requests to same IP but on this port: 8787". My problem is that all requests to my server bring up my default domain content (the first vhost in the list), here is my apache config:
also, when I make changes to my apache fonfig, do I need to just retart apache or should I reboot?
tia for any assistance...
I am trying to host my sites on an alternate port, using :8787 instead of :80. I use DNS2GO for my dynamic IP resoulution, and I made a setting in each of my domain names to "forward requests to same IP but on this port: 8787". My problem is that all requests to my server bring up my default domain content (the first vhost in the list), here is my apache config:
Code:
Listen *:8787
NameVirtualHost *:8787
#
#These are main sites
#
<VirtualHost *:8787>
ServerName [URL unfurl="true"]www.siteone.com[/URL]
ServerAlias siteone.com
ServerAdmin webmaster@siteone.com
DocumentRoot C:/sites/siteone
CustomLog C:/sites/siteone/sitelog.log "%h %o %l %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"
Options -Indexes
</VirtualHost>
<VirtualHost *:8787>
ServerName [URL unfurl="true"]www.sitetwo.com[/URL]
ServerAlias sitetwo.com
DocumentRoot C:/sites/sitetwo
CustomLog C:/sites/logs/sitetwo_site.log "%h %l %u %t\"%r\" %s %b\"%{Referer}i\" \"%{User-Agent}i\""
Options -Indexes
</VirtualHost>
also, when I make changes to my apache fonfig, do I need to just retart apache or should I reboot?
tia for any assistance...