PDA

View Full Version : Please Please help me, Subdomain Redirection!



idan307
07-12-2004, 03:46 AM
i got phpbb on www.g-forums.co.il/forum
and i want that forum.g-forums.co.il will redirect to the phpbb
how can i do it with DA? i know that with cPanel i can..

thuskey
07-12-2004, 04:17 AM
from the DA user panel, select "Subdomain Management"

Kishra
07-13-2004, 03:43 AM
I am trying to do the same thing. I can't find anything under "Subdomain Management" to setup the redirect.

Wunk
07-13-2004, 04:52 AM
Can always make a subdomain and add the following index.html in the subdomain's directory:



HTML>
<HEAD><TITLE>Your site</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!--
function redirect()
{
window.top.location = "http://www.destinationsite.com"
}

setTimeout("redirect();", 0)
//-->
</SCRIPT>
<br><br>You are being redirected to the main site in a few moments, click <a href="http://www.destinationsite.com">here</a> if nothing happens
</BODY>
</HTML>

thuskey
07-13-2004, 06:29 AM
If your forum resides in a directory called phpBB2, like mine, you would go to the user control panel, click on "Site Redirection" down in the advanced section, and enter /phpBB2 in the Local URL path box, and http://forum.g-forums.co.il in the Destination URL box.

If your forum resides in the directory you stated, of /forum, your would not need a redirect at all, because http://forum.g-forums.co.il is the exact same location as http://www.g-forums.co.il/forum/.