[TriLUG] two addresses for a web server

Dave Sorenson dave at logicalgeek.com
Sat Dec 15 10:31:02 EST 2007


I'd just add the servers internal IP to hosts files of the machines in the
local network or if you're running internal DNS add it to that. That way
any requests to http://adsl.blah.blah.bellsouth.net/gallery will use the
internal address and never loop out and back.

Dave

> Folks, this has been nagging for a while - any suggestions welcome.
>
> At home I have a static-IP DSL hookup from BellSouth, which lets me (among
> other things) make family photos available via gallery to other family
> members around the country. This is a Nice Thing (tm) and I want to keep
> it.
>
> The problem is that gallery insists on rewriting the URL it's given to a
> canonical hostname. That, in turn, means that all clients of the gallery
> -- including the machine it lives on and other machines on my home network
> -- have to access the gallery server via its "outside" IP address, with
> the accompanying downgrade in speed.  What I'd like is for internal
> machines to be able to use the http://joehill.perrins/gallery address and
> external ones to have to use   .
> any thoughts on how to make it listen on both addresses at once?
>
> Thanks,
> Andy
>
> ----------------------------------------------------------------------
> Andrew J Perrin - andrew_perrin (at) unc.edu -
> http://perrin.socsci.unc.edu
> Associate Professor of Sociology; Book Review Editor, _Social Forces_
> University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
>
>
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>




More information about the TriLUG mailing list