Site Domain Redirects

The following procedure will redirect one or more domains to another domain. The steps assume a shell user named myuser, an application named myredirect, and a target domain of


Add to control panel all of the domains which will be redirected. See Adding Domains for more information.


Create a new PHP+Apache application via the control panel. See Adding an Application for more information.


Create a new site via the control panel. See Adding Sites for more information.


Under "Application Routing Info" add the myredirect application from step 2 using / as the route URI path.


Under "Domain Info" add all of the domains and subdomains that you wish to redirect.


Save the site.


Create a file /home/myuser/apps/myredirect/.htaccess with the following contents to perform the redirect:

RewriteEngine on
RewriteRule ^(.*)$$1 [R=301,L]

When those steps are complete, any traffic to the new site should be redirected to the same URI on