Hosts (file which maps host names to IPs): Difference between revisions

From Andreida
(Created page with "In Windows you find the file at: C:\Windows\System32\drivers\etc\hosts The format is something like: 127.0.0.1 localhost virtual-machine-01 virtual-machine-01.with-domain-n...")
 
mNo edit summary
 
Line 3: Line 3:


The format is something like:
The format is something like:
127.0.0.1 localhost virtual-machine-01 virtual-machine-01.with-domain-name.com
127.0.0.1 localhost virtual-machine-01 virtual-machine-01.with-domain-name.com virtual-machine-02.with-domain-name.com

Latest revision as of 12:36, 1 June 2023

In Windows you find the file at:

C:\Windows\System32\drivers\etc\hosts

The format is something like:

127.0.0.1 localhost virtual-machine-01 virtual-machine-01.with-domain-name.com virtual-machine-02.with-domain-name.com