How To Redirect Website From HTTP to HTTPS SSL Step by Step?

Redirect Website From HTTP to HTTPS
  • Sign into your Nginx server
  • Pick the reinforcement of the Nginx.conf document
  • In the mandate, add the order: return 301 https://$server_name$request_uri;
  • Ensure that everything is saved from that point onward, restart your Nginx server. Your site ought to be diverted to HTTPS after that.
  • Sign into your Apache server
  • Explore to the config organizer and pick the httpd.conf reinforcement record
  • View your httpd.conf through your Vi editorial manager
  • Burden mod module
  • In the event that you are utilizing Cloudflare you can execute the accompanying SSL divert:
  • Sign in to your Cloudflare record and pick the site/area you need to divert
  • Explore to the Crypto page, explore downwards and pick the switch you have found to ON
  • Go to Page Rules
  • Explore to the “Form Web” symbol and snap on it
  • Enter the URL you need to divert
  • Snap the “Add Settings” tab, then, at that point click on what springs up and turn on “Use HTTPS consistently”
  • Snap on the “Save and Display” tab at the far end beneath, and afterward you are finished
  • Sign in to your SUCURI account
  • Snap “FULL HTTPS” on the SSL mode page
  • Explore to Project Redirection and snap “HTTPS just site”



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Daniel Jackson

Daniel Jackson


n6host is one of the most powerful web hosting services available which can help you lunch your website!