Page 1 of 1

virtual hosts behind NAT

Posted: Fri Mar 08, 2002 10:55 pm
by gwork
What is the preferred method for walking a local site whose external URL will not resolve via DNS because it is behind NAT? The site can be indexed using a URL behind the NAT, but then external clients cannot resolve the internal URLs. Is a file the only option?

virtual hosts behind NAT

Posted: Sat Mar 09, 2002 7:25 am
by John
Since you have the source to the walker available, the best solution is to modify the URL before storing it. You might want to look at the procpage and storepage functions.

It should also be possible to configure your network so the name works both in front of and behind the NAT.