Host name redirect?

Darrin Chandler dwchandler at stilyagin.com
Tue Jun 26 13:11:33 MST 2007


On Tue, Jun 26, 2007 at 12:56:58PM -0700, Alan Dayley wrote:
> Scenario:
> (Names have been changed to protect the innocent, assuming there are any.)
> 
> Old server hostname: duck
> Old server IP address: 192.168.1.3
> New server hostname: eagle
> New server IP address: 192.168.1.9
> 
> Old document URL (via http): duck/some/important/document.html
> New document actual URL (via http): eagle/some/important/document.html
> 
> After the new server is in place any user or link that requests the old
> URL, "duck/..." needs to be automatically redirected to "eagle/..."
> What do we change to accomplish this?

Something like "duck CNAME eagle" in your dns will probably do what you
want, assuming that duck is going away, or can be renamed to, say,
lame-duck.

-- 
Darrin Chandler            |  Phoenix BSD User Group  |  MetaBUG
dwchandler at stilyagin.com   |  http://phxbug.org/      |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation


More information about the PLUG-discuss mailing list