How this error.com works? When I enter error.com without https protocol it just redirects to my wamp server localhost.
127.0.0.1
is an local ip , its unique on all devices, whene you install any http server
like WIMP
or apache2
, you activate automaticaly the http protocol on your local Ip's (ex:192.168.1.200) and on your loopback
ip (127.0.0.1
)
in case of error.com
:
it's has a DNS record that goes directly to the loopback address 127.0.0.1
When your device invokes a DNS server, convert the error.com domain name to IP, the DNS server replies with an address of 127.0.0.1
.
after , your device send request to ip geted by dns
Request (127.0.0.1)