May 01, 2012

Add the following line to the /etc/hosts file: IP_address host_name aliases. IP_address is the IP address of the host. host_name is the name of the host. aliases are the alias names for the host. Example. To add a host name, myhost, with an IP address 192.0.2.16, add the following line in the /etc/hosts file: 192.0.2.16 myhost newhost myhost-e0a Add computers to TrustedHosts list using PowerShell Dec 20, 2017 Hosts file explained | How to edit hosts file in Ubuntu Jul 20, 2018 Where Is The Hosts File In Windows Server 2016

The hosts file is located in the system directory, so non-elevated apps will fail to save it. To edit the Hosts file in Windows 10, do the following. In the Start menu, go to Windows Accessories. Right-click the Notepad app and select More - Run as Administrator. In Notepad, click the File menu - Open, or press the Ctrl + O keys.

How to Setup Local DNS Using /etc/hosts File in Linux Jul 25, 2017 Script Modify Add, Remove - Windows Hosts File Locally and

How To Edit Hosts File in Windows 10 - YouTube

The Add-Content cmdlet appends content to a specified item or file. You can specify the content by typing the content in the command or by specifying an object that contains the content. If you need to create files or directories for the following examples, see New-Item. Then your hosts file shoud look like this. 127.0.0.1 localhost 127.0.0.1 ASUS and then press Ctrl + X to save. That should restore what your father did. unless he deleted 127.0.0.1 from the host file. Add the following line to the /etc/hosts file: IP_address host_name aliases. IP_address is the IP address of the host. host_name is the name of the host. aliases are the alias names for the host. Example. To add a host name, myhost, with an IP address 192.0.2.16, add the following line in the /etc/hosts file: 192.0.2.16 myhost newhost myhost-e0a