Domain Redirects works in the same manner Subdomain Redirects work. They allow you to have a directory on your website, and when a visitor goes to this directory, they are redirected to another website. This website can be on your site, it just cannot redirect to a path that is inside the domain you are placing on the redirect. The following example will NOT work:
To setup a Domain Redirect, enter the directory you want to place the redirect on and the URL that you want to be redirected to
This will create a Redirect on host.amsnac2.com/slashdot. When a visitor goes to this URL, they will be redirected to http://slashdot.org.
Note: The directory that you are placing the redirect on does not have to be created. The redirect script will create the directory if it does not exist. In the above example, the directory slashdot does not have to exist in my public_html directory because the redirect script will create it automatically.
The other option available, is in the dropdown box. You will see two options, Temporary and Permanent. The difference between the two is readable by the browser you are using to access them, but as far as affect goes, both function in the same way. The technical parts are listed below.
Temporary -- This returns a temporary return status to your browser, code 302. This should be used if you are only temporarily placing the redirect on the directory and intend to remove it later.
Permament -- This returns a permanent return status to your browser, code 301. This should be used if you intend to keep the redirect on that directory for a long time. A permanent redirect can still be removed, but is more likely to be caught by your browser or proxy server. The browser or proxy may cache the redirected URL, so you may still get the redirect URL once the redirect has been removed. Emptying the browser's cache or resetting the proxy may alleviate this.
Note: Because of the nature of redirects, it is probably best to leave a redirect folder empty. This is because if you try to access any files in that folder, the redirect will take precedence.
To remove a Domain Redirect, highlight it and click the Remove button.