Whenever someone makes request over HTTP protocol I rewrite the url to make it HTTPS. This is the code in web.config:
&
You can redirect through web config to Hope it will help full