Forcing HTTP or HTTPS based on internal/external traffic

I have a server hosting a web application being used for both internal and external users.   I have applied an SSL certificate, but really only need to have external traffic secured.  Machine has 2 interfaces with external DNS routing traffic through and internal DNS routing traffic through  I have played with bindings but no real solution yet.  How can I have the server for HTTP/HTTPS based on the interface the traffic is entering.
Who is Participating?
ChetOS82Connect With a Mentor Commented:
Have a third site bound to the external IP, and have it redirect its pages to the same page, but with https instead.

So, the first external site will not listen on port 80 (only 443).  The second external site will not listen on 443 (only 80).  There will not be a conflict this way.  You can set the home directory to "Redirect to URL", and if you mess around with the various settings for that, you can redirect all traffic to the same page, but with https instead.
If you right-click on a website, and choose properties, you will see a drop down list of IP addresses.  I would create two sites, one using HTTP, and the other using HTTPS.  Bind the external one to the .12 IP, and the internal one to the .13 address.  (That is, rather than leaving it as "All Unassigned")
macmahoooonAuthor Commented:
Yes this works to limit traffic as is what I have currently set up.  The problem is entering the domain still attempts to resolve http:// instead of htts://. Any redirects will obviously affect both internal and external, as well setting "Require SSL" blocks internal users from accessing the http only.
You need to secure you server rather IIS what i understand .

You can try windows firewall and rules for HTTPS (443) HTTP (80) . ( IPsec is good option)

You need to explain what is to be secured as SSL is secured it self.

If Server security is good then you need not think much on it.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.