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 ...
- 07-26-2011 #1Just Joined!
- Join Date
- May 2007
- Posts
- 12
How to get a subdomain accessible outside the local network? Cant!!
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 when on vpn.
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
Code:<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 #2Linux Newbie
- Join Date
- Dec 2009
- Posts
- 241
Hi,
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.


Reply With Quote