Overview
You can disable the automatic HTTP-to-HTTPS redirect that DreamHost applies to your website directly from the panel, which is useful if you need to implement your own custom redirect configuration instead.
Background
When you add an SSL certificate to your website in the panel, DreamHost automatically redirects the URL visitors use to view your site from HTTP to HTTPS. The S ensures that your connection is encrypted (e.g., https://example.com). There's no further action needed to force your site to use the secure URL.
However, in some special cases, you may need to create your own custom configuration file to force the redirect from HTTP to HTTPS. Adding custom code is only necessary if your website requires specific code to force the redirect. If so, you must use the steps in the following section to disable the automatic redirect in your panel.
How do I disable the automatic redirect to HTTPS?
- Log in to your panel.
- Navigate to the Secure Certificates page.
- To the right of your domain, click the Settings button. A green lock icon appears.
- Click Change Automatic HTTPS Setting and then click the Disable Automatic HTTPS button.
- Clear your browser's cache to ensure the redirect no longer occurs.