Results 1 to 2 of 2
I have a subdomain called www3 and I cant see it outside of our network. It's added in vhosts.conf in /etc/httpd/conf.d, and I can access it through www3.blah.com, but only ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-26-2011 #1
- Join Date
- May 2007
How to get a subdomain accessible outside the local network? Cant!!
We have another www2 that is both local AND outside the vpn. I am testing the site live and need access to it.
Is there another file besides vhosts.conf that I need to add the ssubdomain in?
Here's what I added in my vhosts.conf
<VirtualHost *:80> ServerName www2.mydomain.com ServerAlias www2.internal www2 DocumentRoot /var/www/www2 </VirtualHost> <Directory "/var/www/www2"> allow from all </Directory> <VirtualHost *:80> ServerName www3.mydomain.com ServerAlias www3.internal www3 DocumentRoot /var/www/www3 </VirtualHost> <Directory "/var/www/www3"> allow from all </Directory>
- 07-26-2011 #2
- Join Date
- Dec 2009
Since you only changing the configuration of the web-server I guess the problem is the name resolve.
You have two ways to solve it.
1. Add domain-name into Internet dns server "www3.mydomain.com"
2. Add name entry into your local hosts file.