Use the below link to configure HTTP to HTTPS redirection. If a request comes in HTTP, the request will be automatically forced to use HTTPS. This configuration will guarantee that all information at all times are securely transmitted.
https://www.namecheap.com/support/knowledgebase/article.aspx/9953/38/iis-redirect-http-to-https/