NOTE: This article is written for our Classic Cloud Control Panel. You can access this interface from the New Cloud Control Panel by clicking your username in the upper-right of the control panel and selecting "Classic Cloud Control Panel".
Currently, the Classic Cloud Control Panel does not provide the ability to create an alias that points to a folder other than the website's web root. To accomplish this, you will need to use a redirect script, which can be accomplished by following these steps:
<?php
header("Location: <Insert_URL_Here>");
?>
After the Location: directive, enter the URL that you want to redirect the website to (for instance, http://www.example.com/subdirectory). Using this example link the full script would look like this:
<?php
header("Location: http://www.example.com/subdirectory");
?>
Save this file as index.php.
© 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

0 Comments
Add new comment