Web Hosting Talk







View Full Version : Make current domain name forward to another?


Z400Central
08-16-2004, 10:47 PM
K so heres my story: Cliff notes version

-I own www.z400central.com
-Going to register another domain name
-Want it so when you type in z400central.com it goes to the new domain name

End of story.

My main question is this: Since i have a forum/everything under z400central.com server, will this mess up anything if i just forward it to a new domain name? The new domain im just going to try and point to the same server. Get what im saying?

thx!!!

OzyWebHost
08-16-2004, 10:50 PM
No problem .. your Domain registrar will probably offer free redirect :)

Z400Central
08-16-2004, 11:39 PM
so it wont screw up the forum/site? thx

Bashar
08-18-2004, 02:43 AM
no it wont, and if the registrar doesn't support free redirection you may want to use webbased dns services like zoneedit.com or afraid.org etc..

Masud
08-18-2004, 06:11 PM
Hiya,

Best option : Transfer your domain name to regisetrfly

They offers FREE URL redirection with 2 options. 1) - framing ( masking ) which hides the original URL in the Address bar. 2) - forwarding - it displays the URL in the address bar.

Regards,
CSDesk

SEATi
08-18-2004, 06:41 PM
You can set up a small account for your new domain and redirect visitors using:

1. HTML (meta header expiration)
2. HTML (frames also known as URL cloaking)
3. PHP (Header function)
4. Perl (Header function)
5. ASP (Header function (guess so, I don't use ASP))
6. mod_rewrite (to rewrite URLs based on a .htaccess file)

That way the URLs in your forum will remain the same.

In PHP you can do it by placing an index.php file in the new domain's account and get the following code inside your index.php:

<?
Header("Location: http://www.z400central.com");
?>

That way whenever someone reaches the new domain they will be redirected to your regular domain.

Z400Central
08-18-2004, 11:37 PM
O ok, cool, thanks guys! This domain isnt part of registerfly but i will move it right away. Thanks for all your help!!!! :)

Masud
08-19-2004, 10:01 AM
You surely will love it.

Let me know if you require any help with registerfly ( Sorry for my ignorance about other registrars :( )

Regards,
CSDesk

aznxelmo
11-14-2004, 12:36 PM
Well.. i dunno, but i think you might just wanna add it as a parked domain... so that you can access the site by both urls.. :D

realty
01-08-2005, 03:40 PM
You can create .htaccess in root dir and redirect only index.html

redirect * /index.html http://newlocation

*:301 or 302

webserver4life
10-15-2005, 03:08 AM
do a redirect to the new address with your current domain name control panel.