Customer Support

  1. Support
  2. After the installation
  3. How can I redirect http to https in windows plan?
  1. Home
  2. SSL
  3. How can I redirect http to https in windows plan?

How can I redirect http to https in windows plan?

In case you have a Windows hosting plan and want to redirect from http to https, create a web.config file and add the following command inside it:

type="Redirect" url="https://{HTTP_HOST}{ REQUEST_URI}"
redirectType="Permanent" appendQueryString="false" />

Save it, and upload it to your root folder.
Note: If there is already a web.config file on the server, open it with an editor, add the above command and save.

 

You haven't found what you are looking for?

Contact our experts, they will be happy to help!

Contact us