Search code examples
apachesslportforwarding

Forwarding Ports To A Secure Apache Web Server


When forwarding ports to a Secure Apache Web Server should you block access to the non-secure port 80? Or can you redirect (via dns or some other method), or have Apache redirect (via it's configuration), the traffic back to the secure port 443?


Solution

  • It should be acceptable to allow incoming port 80, and then in your internal server, redirect port 80 connections to SSL port:

    See: http to https apache redirection