June 17th, 2010, 02:17 PM
I'm not sure where this question fits, but I'll take my chances here.
I've got a forum up and running and am just about to start a cooperation with another group. We want to mark a togetherness as well as give the forum a bump in page ranking, so they've created a subdomain on their server of the form "mypage"."theirpage".com and directed it to my server. However, as far as I've understood, I need to accept this redirection by adding the domain to my own web host account so that it'll be accepted at the DNS-level, but I'm hitting a snag:
Exactly how should I define the domain on my own server? The control panel I'm provided with gives several options; using the subdomain on their server as an alias and so on. A vague question, sorry for that, but I'm still learning and lately all my time have been spent learning code and admin-tools, so if there's anyone here who just might help me get this connection right it'd be great!
June 26th, 2010, 05:03 PM
I don't see any reason why you need to create any domain on your account to accept their forward...?
You don't need to do any DNS changes if I am understanding this correctly. Basically, just have them create an index.php file in the directory for "yourpage.theirhost.com". Fill the file with this code:
You can also use an htaccess redirect by creating a file .htaccess in that directory with this code:
<?php header( 'Location: http:// ') ; ?>
if you don't know all the technical details... I think you can ask your webhost to do it for you.