How to Redirect Your Website to Any Page or External Domain Print

  • 0

Updated guide: This article has been refreshed for current hosting environments. Control-panel labels and available features can vary slightly by account, server configuration, or software version, but the workflow below follows the current approach used on modern hosting platforms. This guide is written to help you complete How to Redirect Your Website to Any Page or External Domain safely and understand what to check if the expected result does not appear.

Before you begin

  • Confirm the domain resolves to the correct service.
  • Check whether the certificate is issued by AutoSSL, a commercial CA, Cloudflare or another provider.
  • If Cloudflare is used, check both the visitor-to-Cloudflare certificate and the Cloudflare-to-origin connection.
  • Do not install multiple competing SSL configurations without first identifying which system is responsible for renewal.

HTTPS and Cloudflare

Modern Cloudflare deployments can involve two TLS connections: the visitor connects to Cloudflare and Cloudflare connects to the origin server. Cloudflare provides Universal SSL for supported proxied hostnames, while the origin still needs an appropriate certificate when the selected SSL/TLS mode requires encrypted communication to the server. Keeping the origin certificate valid avoids common 52x and SSL-related errors.

SSL troubleshooting

  • Certificate is not issued: Verify that the domain resolves correctly and that certificate validation can reach the expected DNS or HTTP validation path.
  • Browser shows mixed content: Make sure the site and its assets load over HTTPS. Update hard-coded HTTP URLs in the application or database where appropriate.
  • Cloudflare shows an SSL error: Confirm that the origin server has a valid certificate and that the Cloudflare SSL/TLS mode matches the origin configuration.
  • Certificate expired: Check AutoSSL status or the certificate provider renewal process rather than installing a replacement certificate blindly.

When to contact support

Contact support when the required feature is unavailable, a server-level service is failing, an account is locked, a restore requires privileges you do not have, or you have verified the settings but the service still does not work. When contacting support, include the domain name, the exact error message, what you changed, when the issue started, and screenshots or log output where appropriate. Do not send passwords or other authentication secrets.

Original illustrated procedure

1. Log in to your cPanel account.


2. In the Domains section, click on Redirects.
 

3. Under Add Redirect, you should enter the following details and choose the appropriate options.
Type: Choose Permanent (301) or Temporary (302).
https?://(www.)? Leave this as it is, or should you want to redirect a directory or a page, enter the name of your directory or a full page in the text box.
Redirects to: Points to where you want to redirect your current domain or a page.



4. Click on Add.



Was this answer helpful?

« Back