Reputation: 107
Can anyone Explain me how the protocol (http or https) is determined when we enter website name ?
DNS gives the information ?
Upvotes: 0
Views: 62
Reputation: 201437
In a web browser, if you specify no protocol then the protocol is http and port 80. If the site is configured correctly and the resource should be encrypted, the server will send a https redirect to port 443 in reply from that unencrypted request.
Upvotes: 2