I'm having some trouble getting virtual hosting running right and was
wondering if anyone on the list might see what I'm missing.
I'm trying to setup some subnets to my domain (www.open2space.com,
sub1.open2space.com, sub2.open2space.com, etc.). I've checked through the
Apache documentation on their web site, and have edited my vhost.conf file
like so:
#Named Virtual Hosts
NameVirtualHost *
#open2space.ca root
<VirtualHost *>
ServerName www.open2space.com
ServerAlias open2space.ca
DocumentRoot /home/httpd/htdocs
</VirtualHost>
#Guse
<VirtualHost *>
ServerName guse.open2space.com
DocumentRoot /home/httpd/htdocs/guse
</VirtualHost>
#Zope management
<VirtualHost *>
ServerName zope.open2space.com:8080
DocumentRoot /manage
</VirtualHost>
I've also checked my apache2.conf file to ensure it was using the vhost.conf
file. I then modified my DNS records to support the new domain names.
Finally, I stopped then restarted the Apache2 service.
Once all that was done, I tried to bring up guse.open2space.com in a web
browser, with no luck - it just timed out. Same with the Zope domain
(though I expected this - I don't have Zope setup properly to work with
Apache yet). However, I am able to ping the domains, and can do nslookup on
the domain names, and get a response from external DNS servers - so the
names ARE resolving correctly.
Does anyone have any tips or suggestions? Thanks in advance.
Shawn