Follow these directions to point a domain/subdomain to a website that's hosted elsewhere:
1. Log in to your control panel at https://manage.rackspacecloud.com.
2. Create the new domain or subdomain under the correct account. If you have any questions on how to do this, see the article How do I add a website?
3. Once the domain/subdomain is set up in your account, you will need to add a php redirect to the web content folder using FTP. For more information on how to do this, including using FTP, see How do I add content to my website?
4. Next, you'll need to create the actual php redirect using a text editing program (like Notepad or Wordpad). Start by opening the text editing program and entering:
<?
header("Location: http://Insert_URL_Here");
exit;
?>
Now after where it says "Location:" you will need to enter the actual URL that you want to point to (i.e. http://www.yourdomain.com/). Save this file as "index.php."
5. Next, login to your new subdomain's FTP server.
6. Navigate to the "/www.yourdomain.com/web/content" directory.
7. Upload the index.php into this folder. Once completed, the redirect should be fully functional.
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

3 Comments
CNAME?
re: cname
A redirect on a page will bypass that requirement by telling the visitor's browser to request the address the target server is expecting. With a redirect the browser goes from asking for "origin.example.com" to requesting "www.example.com", so no changes need to be made to the target server.
We'll look at this article and see if we can work out a way to get that information in there. The title could probably be made more explicit, at the least, to make it clear this article's about setting up a redirect between web hosts.
re: cname
Add new comment