Forum Moderators: buckworks & webwork

Message Too Old, No Replies

DNS Redirect where the original domain name STICKS!

I'm going insane with this damn redirect!

         

elm3r

11:47 pm on Jan 24, 2003 (gmt 0)

10+ Year Member



Hello all,

I have a domain name (www.domain.com) that I wish to redirect to a site (www.blah.com/blah). Now, I know I can do the redirect 301 in an .htaccess, but my problem is this: I want the person to still see the (www.domain.com) in the address bar, not be redirected and see (www.blah.com/blah).

Any Suggestions?

-elm3r

bcc1234

12:35 am on Jan 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can create a virtual host for that domain and set a document root to be in the original domain's /blah.

That will work just fine with static content.

elm3r

7:12 pm on Jan 28, 2003 (gmt 0)

10+ Year Member



See, that would be fine if both domains were hosted on the same server, but they're not. Content is located at www.blah.com/blah (server #1), and DNS for the domain name is located at www.server#2.com (server #2).

How would I approach this?

bcc1234

2:49 am on Jan 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check out the proxy module for apache.