Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English
Shopping cart

How do I force my website to use HTTPS in DirectAdmin?

1 min read

Once you have an SSL certificate, you want every visitor to use the secure https version of your site, not the insecure http one. Forcing HTTPS keeps connections encrypted, shows the padlock, and helps SEO. This guide explains how to do it in DirectAdmin.

First, confirm SSL is active #

Before forcing HTTPS, make sure a valid SSL certificate is installed for your domain (Disoh includes free Let’s Encrypt certificates). If you force HTTPS without a certificate, visitors will see security warnings.

Option 1: DirectAdmin SSL setting #

  1. Log in to DirectAdmin.
  2. Open your domain’s SSL Certificates or domain setup.
  3. Enable the option to force or redirect to HTTPS if available.
  4. Save.

Option 2: WordPress #

If your site runs WordPress, set both the WordPress Address and Site Address to the https version under Settings > General, and use a plugin or setting to force HTTPS site-wide.

Option 3: .htaccess redirect #

For other sites, add a redirect rule to your .htaccess file in public_html that sends all http requests to https. Support can provide the exact rule for your setup if you are unsure.

After enabling #

  • Visit your site with http and confirm it redirects to https.
  • Check for the padlock and no “not secure” warning.
  • Fix any mixed-content warnings by updating links to https.

Troubleshooting #

  • Redirect loop: avoid forcing HTTPS in more than one place at once.
  • Security warning: confirm the SSL certificate is valid and active.

Need help? #

If HTTPS will not force correctly, our support team can set it up for you over live chat.

What are your feelings

Your Account