cancel
Showing results for 
Search instead for 
Did you mean: 

Address forwarding

kdaviso
Newbie
Posts: 2
Registered: 24-08-2009

Address forwarding

Hi folks,
I have a PlusNet account with several domains under it, but what I'd like to do is have one of my domain names forward to a subsite under another domain i.e. navigate to www.abc.com actually takes you to www.xyz.com/abc. Does anyone who if anhow this can be done?
Thanks for your help
Kevin
2 REPLIES
csogilvie
Grafter
Posts: 5,852
Registered: 04-04-2007

Re: Address forwarding

Yup, this can be acomplished using a variant on the instructions in http://community.plus.net/forum/index.php/topic,78811.0.html
I can't guarantee the code below will work, but a .htaccess file with something like
Quote
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST}  ^www\.abc\.com$
RewriteRule (.*) http://www.xyz.com/abc//$1 [R=301,L]

may do the trick.
kdaviso
Newbie
Posts: 2
Registered: 24-08-2009

Re: Address forwarding

As per the other conversation, if I take out the Options +FollowSymLinks it works fine, otherwise I get an internal server error.
Thanks
Kev