Is there a way to create a link that will in a way do this: If the user goes to http://website1.com/path/to/file and if it results in "404" it doesnt exist, make it automatically navigate to http://website2.com/path/to/file. I want the /path/to/file to carry over but just the domain change.
Is there a way to do this in apache2 running on ubuntu 10.10 server?
mod_rewrite
with appropriate condition might work.