You can do this with a dns and apache server on your LAN (eg http://www.tonybhimani.com/2008/01/26/domain-redirection-using-apache-mod_rewrite-and-htaccess/)
On 11/24/10, LuKreme <[email protected]> wrote: > Not specifically an OS X question, but it is my MacPro I am futzing with. > > There is a site xxx.tld and I want all web requests to instead be redirected > to yyy.tld. I know I can block all access to xxx.tld in /etc/hosts, and I > can redirect IP addresses (which I do with the various CDDB IPs), but if I > try to connect to xxx.tld and I use /etc/hosts to redirect the web request > to the IP for yyy.tld, yyy.tld will not load the right pages since the name > doesn't match what it is expecting. > > So, is there some way to redirect all http request that go through my server > for xxx.tld to instead be changed to yyy.tld? Amd requests for > xxx.tld/path/to/content to yyy.tld/path/to/content as well, obviously. > > Neither xxx.tld nor yyy.tld is a domain under my control. > > -- > They say only the good die young. If it works the other way too I'm > immortal > > _______________________________________________ > MacOSX-talk mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/macosx-talk > -- Best Regards, John Musbach _______________________________________________ MacOSX-talk mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-talk
