BCHCAdmin
asked on
URL https redirect
We have a new website that we need to do a redirect if someone puts in the URL with http: instead of https: ....
for example - site is:
https://somepage.company.com (this works fine)
Would like for a user to be able to put this in and have it work:
http://somepage.company.com (redirect to https:)
One other thing is that the ssl cert is for this page: https://sompage.company.com
A user can also put in https:/company.com and it gets them to the page but the cert is incorrect. I think a wildcard? cert should have been installed? Can someone describe how that should work?
Oh, this is on IIS 8 on a Server 2012 R2 machine.
Thanks
for example - site is:
https://somepage.company.com (this works fine)
Would like for a user to be able to put this in and have it work:
http://somepage.company.com (redirect to https:)
One other thing is that the ssl cert is for this page: https://sompage.company.com
A user can also put in https:/company.com and it gets them to the page but the cert is incorrect. I think a wildcard? cert should have been installed? Can someone describe how that should work?
Oh, this is on IIS 8 on a Server 2012 R2 machine.
Thanks
for a subdomain you need a separate or a wildcard certificate
ASKER
I am able to get the redirect (from http: to https:) to work on our internal network but its not working outside? Is this a DNS issue? Firewall issue possibly?
I set up a forward lookup zone on our internal DNS servers to point to the internal IP address of our webserver. So when I go to http://somepage.company.com it redirects to https://somepage.company.com correctly. But when I get outside our network, its not working.
Thank you for your assistance!
I set up a forward lookup zone on our internal DNS servers to point to the internal IP address of our webserver. So when I go to http://somepage.company.com it redirects to https://somepage.company.com correctly. But when I get outside our network, its not working.
Thank you for your assistance!
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
use the url rewrite handler
https://www.experts-exchange.com/questions/28689944/Redirect-IIS-8-0-website-from-http-to-https.html
you can also redirect mydomain.xxx to mydomain.xxx\mysite
When I would get the certificate I'd use domain.com for the subject name rather than domain.com\mysite