07-19-2020, 11:36 AM
In college we did something with the hosts file. We gave ip addresses whatever name we wanted and then we went into the console and we pinged the computers by typing "ping <custom name>".
The only thing was that we did this in a computer lab, and the hosts that we re-named and pinged were all located within the same LAN.
I have no idea if you can do this with websites outside of your own LAN. Websites use DNS information to send their names to your browser. Before the modern Domain Name System, companies would have to register their ip address and domain name, and some third party company would compile the hosts files for people to download so that their computer could use the domain name rather than using the IP address.
Nowadays computers can automatically access host names through some other system.
What you're trying to do... I wouldn't know how to do it.
The only thing was that we did this in a computer lab, and the hosts that we re-named and pinged were all located within the same LAN.
I have no idea if you can do this with websites outside of your own LAN. Websites use DNS information to send their names to your browser. Before the modern Domain Name System, companies would have to register their ip address and domain name, and some third party company would compile the hosts files for people to download so that their computer could use the domain name rather than using the IP address.
Nowadays computers can automatically access host names through some other system.
What you're trying to do... I wouldn't know how to do it.