SSL Is there a guide to convert from http to https?

Discussion in 'Domains and SSL Certificates' started by Jim McClain, Dec 9, 2016.

Tags:
  1. Jim McClain

    Jim McClain Senior Citizen

    1,874
    832
    +468
    I have a number of websites on my Apache server, all running http, including my forum. I would like to convert them all to https prior to (or at the same time as) switching my vBulletin 3.8 forum to some other software. Is there a step-by-step guide that will walk me through the process? Is there an article here on TAZ about this process? Is there a cPanel/WHM server expert here willing to put together such a guide?

    Thanks,

    Jim
     
  2. Tracy Perry

    Tracy Perry Opinionated ass-hat

    4,480
    412
    +3,020
    cPanel (at least the newer versions) should have the ability to use the LetsEncrypt SSL cert in them now. I don't use cPanel (and try to avoid it like the plague) but there should be clear instructions on the cPanel support site. As for your sites, you will need to change the URL to reflect the HTTPS protocol and if they have an image proxy enable it.
    You will also need to do a rewrite in your .htaccess to rewrite all inbound HTTP to HTTPS. There are plenty of examples via Google that show you how to do that.
     
  3. Joeychgo

    Joeychgo TAZ Administrator

    6,456
    1,532
    +3,116
    I'm not convinced there is any real benefit for a forum to go to https
     
    • Disagree Disagree x 3
    • Appreciation Appreciation x 1
    • List
  4. Jim McClain

    Jim McClain Senior Citizen

    1,874
    832
    +468
    Okay, but I hope people understand that I didn't start this discussion to debate the pros & cons of https. I am looking for a comprehensive guide to converting one or more sites on a server, including a forum AND/OR a site that also sells something (oh, for instance, photos, premium member benefits or doo-dads). The guide would be useful for those who feel there is a real benefit for them to convert to https. Those who do not feel the need can just ignore the discussion... hint, hint.
     
    • Like Like x 2
    • Agree Agree x 1
    • List
  5. Joeychgo

    Joeychgo TAZ Administrator

    6,456
    1,532
    +3,116
  6. Tracy Perry

    Tracy Perry Opinionated ass-hat

    4,480
    412
    +3,020
    Then you would need multiple guides, as one for XenForo won't work with IPS, nor with WBB or any other.
    The base for a cPanel is already well documented on their support site (including how to use LetsEncrypt).
    Manually adding it into nginx/LiteSpeed/OpenLiteSpeed/Apache is also well documented in multiple places, so one would be spinning their wheels in recreating that information. It just takes a little research.
     
  7. eva2000

    eva2000 Habitué

    1,582
    857
    +650
    HTTP/2 based HTTPS is what you want if you want performance and better page loading speed for forum pages :)

    https://centminmod.com/http2-nginx.html

    • HTTP (non-HTTPS with nginx pagespeed disabled) = 16.138s speedindex = visual render time of 4.0.27s
    • HTTP/2 (HTTPS with nginx pagespeed disabled) = 5.0.82s speedindex = visual render time of 2.599s

    upload_2016-12-11_17-28-28.png
     
  8. eva2000

    eva2000 Habitué

    1,582
    857
    +650
    depends on server /control panels used etc. So find and search for guides for your specific server/OS/control panel and try it on 1 test domain site - perfect the method until your comfortable for that test domain. Then re-apply the steps you perfected on the rest of the sites. Each would need to be manually converted for http to https including updating Google Analytics and Google/Bing Webmaster Tools properties if they apply to you.
     
  9. bRionZ

    bRionZ Neophyte

    3
    8
    +1
    Write this code on .htaccess file, and don't forget to make a backup copy before starting every change.
    Code:
    RewriteEngine On
    RewriteCond %{HTTPS} !on
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    May be useful.
     
    • Informative! Informative! x 1
    • List
  10. SarbjitGrewal

    SarbjitGrewal Aspirant

    25
    6
    +2
    Yes, it is useful. I am able to redirect URL from HTTP to https.
     
Verification:
Draft saved Draft deleted