How to enable free lifetime SSL by default (force https://)

SSL installation on Apache servers

NYhost.net Support

Last Update 3 years ago

More and more websites switch to https:// in order to improve visibility on major search engines and site security. NYhost.net offers free, lifetime SSL (automatic renewals every 90-days) for any website - commercial or personal. It's good idea to secure your website today!

If you don't have valid SSL, please contact us with list of domain names and we will add https:// within 2 business days. If you do have valid SSL and wish to disable http:// (force https://), please add following lines to your .htaccess file located inside public_html folder:

Please save .htaccess file inside public_html folder then try to access website without https://, for example:

Browser will instantly redirect all traffic to secure Apache port:

Was this article helpful?

3 out of 3 liked this article

Still need help? Message Us