[TriLUG] two addresses for a web server

Andrew Perrin clists at perrin.socsci.unc.edu
Sat Dec 15 09:46:03 EST 2007


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 http://adsl.blah.blah.bellsouth.net/gallery . 
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





More information about the TriLUG mailing list