Browse sites hosted on local intranet

Discussion in 'Tips/Tricks/Mods' started by dtrotter, Dec 27, 2008.

  1. dtrotter

    dtrotter New Member

    I have searched and not been able to find exactly what I am looking for. Maybe I have been too impatient or overlooked the answer, so sorry in advance if that is the case.

    I have 10 hosted domains using the latest version of ISPConfig on Ubuntu 7.10. Everything is working well for external access, but I am unable to browse the sites internally since everything is behind a firewall. I am automatically redirected to the Shared IP site. I was hoping to check the site status by going to: http://192-server-ip/~sitename/index.html

    Thanks in advance.

    dtrotter
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. dtrotter

    dtrotter New Member

    I know that it creates name based virtual hosts, but I was hoping there was a way I could accomplish this with a supplemental configuration or something.

    Thank you for your response though, and have a good one! :)

    dtrotter
     
  4. newmember

    newmember New Member

    You need a split DNS.

    Internally you will have:

    192.168.1.100 www.website1.com
    192.168.1.100 www.website2.com
    192.168.1.100 www.website3.com
    192.168.1.100 www.website4.com
    192.168.1.100 www.website5.com
    192.168.1.100 www.website6.com
    192.168.1.100 www.website7.com
    192.168.1.100 www.website8.com
    192.168.1.100 www.website9.com
    192.168.1.100 www.website10.com

    You can try this by added the lines above (with your domains and IP address) to your 'hosts' file on your windows xp computer. Then try the websites to your browser.
     
  5. dtrotter

    dtrotter New Member

    I can't believe I didnt even think of that! It is perfect and exactly what I wanted to accomplish. Thanks!

    dtrotter

    :)
     

Share This Page