A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

March 16, 2010

Accessing Apache Virtual Host Behind Router

I am serving 3 web sites via my own in-home ubuntu server. I've got a static public facing IP, and am serving the sites via virtual hosting. When accessing the virtual host sites outside my LAN, everything works perfectly. When accessing the domain names of the sites within the LAN, I get my router's configuration page. I can get around this by using the local ip address of the server inside my LAN, (rather then the domain names of the sites, or the public facing IP), but then I only get the default virtual host, and can't access either of my other two sites. How can I access all my virtual host sites within my LAN?


Click Here!