Windows Hosting (Plesk) Help

Redirect my website to HTTPS in Windows Hosting

If you have a secure certificate (SSL) on your website, you can automatically redirect visitors to the secured (HTTPS) version of your website to make sure their information is protected. You need to use the Plesk File Manager to add some code to the web.config file in your Windows Hosting account.

Warning: The code samples we provide below do not constitute a complete web.config file. Do not replace your existing web.config file with the code we provide. Before changing your web.config file, we recommend creating a backup.
  1. Go to your GoDaddy product page.
  2. Select Web Hosting, and next to the Windows Hosting account you want to use select Manage.
  3. In the account Dashboard, select Plesk Admin.
  4. In the Plesk Websites & Domains page, for the domain you want to use, select File Manager.

    Note: If you don't see any icons to select, in the center of the page select Show More and then select File Manager.

  5. In the File Manager list, select web.config. The web.config file opens in a code editor.
  6. After the opening system.webServer tag, and before the closing system.webServer tag, add the next code snippet. Be careful not to delete any of the existing code.

    <rewrite>
        <rules>
    	<rule name="HTTP to HTTPS redirect" stopProcessing="true"> 
    	    <match url="(.*)" /> 
    	    <conditions> 
                    <add input="{HTTPS}" pattern="off" ignoreCase="true" />
    	    </conditions> 
    	    <action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
            </rule>   
        </rules>
    </rewrite>
    
  7. At the bottom of the code editor, select OK.

More info