Need a redirect

Status
This thread has been Locked and is not open to further replies. The original thread starter may use the Report button to request it be reopened but anyone else with a similar issue should start a New Thread. Watch our Welcome Guide to learn how to use this site.

giovannicosta

Thread Starter
Joined
Aug 24, 2006
Messages
1,264
OK I need some of my free hosting users to have domains redirect to their subdomains, I have cpanel, any idea on how to do this?
 
Joined
Apr 30, 2005
Messages
3,012
PHP:
<?php
header("Location: http://newsite.com");
exit;
?>
Let's say you want oldsite.com to redirect to newsite.com

In oldsite.com place this code as index.php, when you go to oldsite.com it will redirect to newsite.com
 

giovannicosta

Thread Starter
Joined
Aug 24, 2006
Messages
1,264
what if the domain name had no hosting could I possibly park it or something liek that?
 
Status
This thread has been Locked and is not open to further replies. The original thread starter may use the Report button to request it be reopened but anyone else with a similar issue should start a New Thread. Watch our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top