New answers tagged iis7
The normal configuration for your scenario is to rely on the alternate access mappings (AAM). I'm not sure what setup your are using for your web application, but the best practice approch would be: Create new web applciation with SSL Url: https://customesite.com (Zone = Default) Add internal URL for this web app in the AAM configuration Internal Url: ...
An easier no code solution is to configure IIS to handle it for you. Create a new site setup with the hostheader customsite.com, and on port 80. Within the site, select HTTP Redirect under the IIS group: From here you can redirect to https://customsite.com.
Top 50 recent answers are included