Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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, 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
    <VirtualHost *:80>
       ServerAlias www2.internal www2
       DocumentRoot /var/www/www2
    <Directory "/var/www/www2">
       allow from all
    <VirtualHost *:80>
       ServerAlias www3.internal www3
       DocumentRoot /var/www/www3
    <Directory "/var/www/www3">
       allow from all

  2. #2
    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 ""
    2. Add name entry into your local hosts file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts