I'm pretty sure those instructions are for people who CONTROL the domains in 
question to serve multiple host names at the far end, which is not the OP's 
situation.

On Nov 25, 2010, at 11:33 AM, John Musbach wrote:

> 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 <krem...@kreme.com> 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.


-- 
  Macs R We -- Personal Macintosh Service and Support
    in the Wickenburg and far Northwest Valley Areas.
                            http://macsrwe.com

_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@omnigroup.com
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to