How to Redirect an Add-on Domain in cPanel

You can redirect your add-on domain to another domain

  1. Log in to your cPanel account.

  2. Click on Redirects under the Domains section.
  3. Select a redirect type from the Type menu.
    • Permanent (301) — This setting notifies the visitor’s browser to update its records.
    • Temporary (302) — This setting does not update the visitor’s bookmarks.

  4. Select a domain name from the menu, or select **All Public Domains** to redirect all of the domains that your cPanel account controls.

  5. In the next text box, enter the rest of the URL from which you wish for the server to redirect visitors. For example, if you wish to redirect http://example.com/directory/file.html to another URL, enter directory/file.html in this text box.

  6. In the Redirects to text box, enter the URL to which you wish to redirect users.
    Important:

    You must specify a protocol in this text box. For example, http://, https://, or ftp://.

  7. Select one of the following settings:
    • Only redirect with www. — This setting only redirects visitors who enter the www. prefix before the domain name part of the URL.
    • Redirect with or without www. — This setting redirects all users, regardless of whether the visitor enters the www. prefix before the domain name part of the URL.
    • Do Not Redirect www. — This setting does not redirect users who enter the www. prefix before the the domain name part of the URL.
      Note:

      The interface disables the www. redirection setting if you select **All Public Domains**.

  8. Select the Wild Card Redirect setting if you wish to redirect all files within a directory to the same filename in the new directory. For example, if you enable the Wild Card Redirect setting and example1.com redirects to example.com, then a visitor who tries to access the http://example1.com/pic.jpg URL redirects to the http://example.com/pic.jpg URL.

  9. Click Add.

To test the redirect, click the link under Directory in the Current Redirects table. If you properly configured the redirect, the system directs you to the original domain.



Esta resposta lhe foi útil?

Artigos Relacionados

How to Create an Alias or Park a Domain in cPanel

Note: The domain you want to park must point to the DNS of our server.1. Log in to your cPanel...

How to Remove Parked Domains/Aliases in cPanel

1. Log in to your cPanel account. 2. In the Domains section, click on Aliases. 3. Under Remove...

How to Create Addon Domains in cPanel

Before adding the addon domain, point your addon domain nameservers to your primary domain...

How to Remove an Add-on Domain in cPanel

1. Log in to your cPanel account. 2. In the Domains section, click on Addon Domains.3. Locate...

How to Redirect a Subdomain to an External URL

1. Log in to your cPanel account.2. In the Domains section, click on Subdomains. 3. Under the...