user3103694
user3103694

Reputation: 107

How the Protocol http or https is determined when we enter the website name?

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

Answers (1)

Elliott Frisch
Elliott Frisch

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

Related Questions