Posted by Jason Nugent on August 28, 1998 at 06:01:49:
In Reply to: Reload a page using a different URL posted by Julian Jacobs on August 28, 1998 at 03:28:59:
: What i want to do is:
: If somebody comes to a page using a URL that does not contain the correect domain name.
: I want them to be directed to my domain
: browser goes to www.foo.com/my-site
: I would like the page to reload as
: my domain is software hosted and has the same IP address as www.foo.com
This is server dependent. What you typically need in this case is a redirect on the www.foo.com server which maps the directory /my-site to the address http://www.my-site.com.
What webserver are you using?