Recent searches

in

Configure HTTP redirects

Last modified: November 4th, 2026

This feature is only available for Sites hosted through CloudCannon. If you host your Site externally, or use CloudCannon in Headless Mode, this feature will not work.

Once your SSL Certificate is enabled, users can visit your Site on the more secure HTTPS URL. We highly recommend redirecting all your HTTP URLs to the more secure HTTPS URLs.

The HTTPS redirect is a setting of the subdomain your Site is on, so it applies to every Site on that subdomain. New subdomains redirect HTTP visitors to HTTPS by default. You change the setting in the HTTPS section of the Custom Domain page under Site Settings, or in the same section of the subdomain page, which you can open from the Subdomains tab of your Domain page. Changing it requires the base-domain:settings:details:write permission on the Base Domain. If the Configure button in the HTTPS section is disabled, ask someone in your Organization who has that permission. A redirect subdomain sends anyone who opens its http:// address straight to its target, over HTTPS when the target has an SSL Certificate. Your Site's Testing Domain always uses HTTPS, so this setting only applies to Sites with a Custom Domain.

The Routing page under Site Settings doesn't have this setting. For a Site with a Custom Domain, the Routing page shows The HTTP to HTTPS redirect for [Subdomain] is in Custom Domain settings, under HTTPS., with a link to the Custom Domain page.

If you turn the HTTPS redirect on yourself, do so once the HTTPS section shows HTTPS is on. CloudCannon issues a certificate for each subdomain automatically, or you can upload your own. For more information, please read our documentation on adding an auto-generated SSL Certificate or adding a Custom SSL Certificate.

To redirect visitors to HTTPS:

  1. Navigate to the Custom Domain page under Site Settings.
  2. Click the Configure button in the HTTPS section. CloudCannon will open the HTTPS for [Subdomain] modal.
  3. Check the Redirect http:// visitors to https:// checkbox.
  4. Click the Save HTTPS button.

CloudCannon will now reroute all visitors using the HTTP URL address to the correct HTTPS URL address, for every Site on the subdomain.

A screenshot of the HTTPS for blog.example.com modal shows the SSL certificate options with Let CloudCannon issue and renew it selected, the Redirect http:// visitors to https:// checkbox checked under HTTP, and the Cancel and Save HTTPS buttons.
The HTTPS modal

In the same modal, you can also choose between an SSL Certificate CloudCannon issues and one you upload.

Related Resources

Open in a new tab