I have a web site that provides intranet services (myservices.mycompany.com). I have a need to now to add a secure service. During development the service was deployed without security in something like http://myservices.mycompany.com/NewServiceA. Now I want to put that service behind SSL.
Simple enough, I got my certificate and created a new binding for myservices.mycompany.com to https on port 443. So now the site https://myservices.mycompany.com/NewServiceA is behind SSL, all is good.
The issue is that http://myservices.mycompany.com/NewServiceA still works and I want to turn that off or redirect.
A couple solutions occur to me:
1. Just remove the http (port 80) binding. But I have other services that I do not want to be behind SSL being hosted.
2. Create a new site mysecureservices.mycompany.com and bind it only to SSL. But I really like having everything under myservices.mycompany.com and just the http/https being the difference in secure and normal services.
Utlimately I would like to have http://myservices.mycompany.com/NewServiceA point to a page that tells the user that the actual service is behind SSL and located at https://myservices.mycompany.com/NewServiceA.
The environment is Windows Server 2008 & IIS7
Thanks for any suggestions
Sammer