Z
Z
zeuss562016-10-15 21:35:08
Computer networks
zeuss56, 2016-10-15 21:35:08

Are subdomains possible for IP addresses like www.127.0.0.1 or 8.8.8.8.8 in IPv4 just for HTTP requests?

Are subdomains for IP addresses possible, and if so, why don't providers give their users behind NAT at least such addresses? Why not a doomsday solution for IPv4 addresses?

UPD: You could guess right away - the omnibox of chromium prompts - there can be no such address. But why then it was impossible to agree on the routing of at least one HTTP protocol - for direct access from the client to the address in the browser, the address definition is built in: if there is a subdomain in front of the IP, send a request to this IP and write this subdomain in the HOST field of the request. And the provider would set up routing to its clients depending on the HOST field. It's easier than implementing IPv6.
And it can be even easier. Each provider has a domain. Why not set the subdomains of this domain to the appropriate clients? It doesn't require any browser/ICANN/kte negotiation at all. and introduction of new technologies.

spoiler
кте - кто-то ещё (как etc но задом-наперед, смысл тот-же) ©

UPD2: Naturally, this will only work with HTTP, since there is no other way to find out the domain, except from the HOST header.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2016-10-15
@zeuss56

Impossible. IP addressing and domain names are different, albeit linked via DNS systems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question