How can I configure IIS Redirect HTTP to HTTPS in Windows Cloud?

 

Today a lot of businesses are using the website and web hosting services for their business. And the reason behind it is that it is one of the best ways to showcase your business product and services to the people around you and also to the people across the globe. Not only that with the help of website you can easily market your products and service and also ask option of your customer about your product. So today there are a lot of hosting plans are available all you need to do is that choose the right and best hosting solution for your website.

 

Linux Cloud web hosting server

 

Today most of you might aware of Windows and it has been used by millions of people across the globe. For this reason, today Windows is a second most used operating system in the world. And the reason why people like to use Windows os is that they can easily handle and manage their website.

 

Not only that you can also easily install and run a Windows-based application. And here at HostingRaja we provide best in class Windows based web hosting solution at an affordable price. And also with amazing features, offers, and discounts. But today if you are already using a Windows-based web hosting solution and now if you are looking for information on how to configure IIS Redirect HTTP to HTTPS in Windows Cloud server then here is the complete information on it.

 
Startup cloud servers
 

Follow the below steps to configure IIS7 and IIS8 to Redirect HTTP to HTTPS in Windows Cloud server:

 

1. First you need to make sure that you have Microsoft URL rewrite module on your server

 

2. Next you need to install your SSL certificate in IIS 7 and connect it to your website. But if you have already installed the SSL then you can skip this step

 

3. Now in here, you need to make sure that SSL is not checked under SSL settings for your website

 

 

4. Next you need to search your web.config file of your root folder of your website and you need to edit the file and locate <system.webServer> section and now in there you need to run the below code

 

<rewrite>

 

<rules>

 

<rule name=”http to https” stopProcessing=”true”>

 

<match url=”(.*)” />

 

<conditions>

 

<add input=”{HTTPS}” pattern=”^OFF$” />

 

</conditions>

 

<action type=”Redirect” url=”https://{HTTP_HOST}/{R:1}” redirectType=”Temporary” />

 

</rule>

 

</rules>

 

</rewrite>

 

5. Now check your website by entering www.youdomainname.com in the browser and it should redirect to the https version.
 
 

windows cloud server cost