View Single Post
  #5  
Old 25th March 2013, 13:27
Jepso Jepso is offline
Junior Member
 
Join Date: Feb 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could also create a CNAME record for mydomain.com:
Type: CNAME
Name: forum
Data: forum.theirdomain.com.
Priority: 0

I think you can also use .htaccess file to do the redirect (not sure if this works):
//Rewrite to forum
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} forum.mydomain.com[nc]
RewriteRule (.*) http://forum.theirdomain.com/$1 [r=301,nc,l]

But if you still want to do this by adding subdomain, I guess you could do it like this:
Host: forum
Domain: mydomain.com
Redirect Type: L
Redirect Path: /forumredir/

Now you can create forumredir folder to mydomain.com web directory and create index.php which contains header('Location: http://forum.theirdomain.com');
Reply With Quote