foo.bar.com/baz/* -> new domain.com/*?
March 22, 2006 10:34 AM
Subscribe
Is it possible to implement domain-part redirection on URLs, along these lines:
http://foo.bar.com/baz/0001.html
becomes
http://new.domain.com/0001.html
for any instance of "foo.bar.com/baz/*", that segment of the URL is replaced by "new.domain.com/*"
If so, are there multiple methods? [MI]
I think that this is possible if you have httpd.conf access under apache; however, in the instance I'm trying to learn about, I do not have that level of admin access. I do have DNS control over the second domain, but not the first. The page set at the first domain is my content, hosted by a commercial aggregator.
I think I might be able to accomplish this by setting up a script at "new.domain.com" which would parse incoming URL requests and transfer the visitor to the "foo.bar.com/baz" URL.
Is there a readymade script I can gank to accomplish this?
can i do what i need just in DNS?
TIA!
posted by mwhybark to computers & internet (8 comments total)
posted by justkevin at 10:39 AM on March 22, 2006