Is it possible to provide HTTP and HTTPS with a single server?
[L] Yes, HTTP and HTTPS use different server ports, so there is no direct conflict between them. Either run two separate server instances (one binds to port 80, the other to port 443) or even use Apache’s elegant virtual hosting facility where you can easily create two virtual servers which Apache dispatches: one responding to port 80 and speaking HTTP and one responding to port 443 speaking HTTPS. • I know that HTTP is on port 80, but where is HTTPS? [L] You can run HTTPS on any port, but the standards specify port 443, which is where any HTTPS compliant browser will look by default. You can force your browser to look on a different port by specifying it in the URL like this (for port 666): https://secure.server.dom:666/ • How can I speak HTTPS manually for testing purposes? [L] While you usually just use $ telnet localhost 80 GET / HTTP/1.0 for simple testing the HTTP protocol of Apache, it’s not such easy for HTTPS because of the SSL protocol between TCP and HTTP. But with the help
Yes, HTTP and HTTPS use different server ports, so there is no direct conflict between them. Either run two separate server instances (one binds to port 80, the other to port 443) or even use Apache’s elegant virtual hosting facility where you can easily create two virtual servers which Apache dispatches: one responding to port 80 and speaking HTTP and one responding to port 443 speaking HTTPS.
Related Questions
- News Manager Pro can work via HTTP or HTTPS (secure) connection. It depends only on your server settings Accounts and general use Q: How do I take advantage of the one month free trial?
- Is HTTP/HTTPS support only possible if the RightFax connector is installed on the RightFax 9.x server?
- Is it possible to provide HTTP and HTTPS with a single server?