# - - # # - Configuring hosts file in server - # # - Do this in your own computer as well - # sudo vim /etc/hosts 127.0.0.1 localhost 192.168.1.100 myblog.com 192.168.1.100 mynewblog.com 192.168.1.100 techblog.com # - - # # - Do this in your own computer as well - # # - HPDesktopHome / HPDLinuxMint181 - # sudo gedit /etc/hosts 127.0.0.1 localhost 127.0.1.1 uServerHome 127.0.0.1 localhost 127.0.1.1 HPDLinuxMint181 # - Local - # 192.168.1.100 myaccounting.com 192.168.1.100 myinventory.com 192.168.1.100 mysales.com # - From isdevelopment.us - # isdevelopment.us myaccounting.com isdevelopment.us myinventory.com isdevelopment.us mysales.com # - From the real IP address - This is the one that works outside - # 69.123.114.8 myaccounting.com 69.123.114.8 myinventory.com 69.123.114.8 mysales.com 69.123.114.8 www.myaccounting.com 69.123.114.8 www.myinventory.com 69.123.114.8 www.mysales.com # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters # - - # # - Configuring hosts file in Windows - # https://support.rackspace.com/how-to/modify-your-hosts-file/ Notepad 64.49.219.194 www.domain.com 64.49.219.194 domain.com For Windows 10 and 8 Press the Windows key. Type Notepad in the search field. In the search results, right-click Notepad and select Run as administrator. From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts Make the necessary changes to the file. Click File > Save to save your changes. For Windows 7 and Vista Click Start > All Programs > Accessories. Right-click Notepad and select Run as administrator. Click Continue on the Windows needs your permission UAC window. When Notepad opens, click File > Open. In the File name field, type C:\Windows\System32\Drivers\etc\hosts Click Open. Make the necessary changes to the file. Click File > Save to save your changes. Windows NT, Windows 2000, and Windows XP Click Start > All Programs > Accessories > Notepad. Click File > Open. In the File name field, type C:\Windows\System32\Drivers\etc\hosts Click Open. Make the necessary changes to the file. Click File > Save to save your changes.