![]() Save your changes by pressing Control + O , then exit by pressing Control + X . Comments are indicated with a ‘#’ sign.Ġ.0.0.0 Enter the IP address you want to refer to first, hit tab, and then the server name (or domain name) that you want to associate with it. The IP address is first, and the server name comes second. The system will prompt you to enter your password – this is the same password you use to log in to the system. Type the following in the terminal window… sudo nano /etc/hosts Open the Finder , and go to Applications > Utilities > Terminal Once Notepad is open you can edit the file per the above instructions. Notepad c:\windows\system32\drivers\etc\hosts To access the hosts file in Windows 7 you can use the following command in the Run Line to open notepad and the file. The hosts files system worked well for the early internet, but there were a few major problems. That way, instead of having to remember a long IP address, all you had to do was visit localhost. If you make an edit to the hosts file and something stops working, you can tell Windows to ignore any line by putting a # sign at the beginning of that line. For example, heres a line youll find in many hosts files on Windows, Linux, and macOs: 127.0.0.1 localhost. Once you’re finished making your changes, save the file ( File > Save ) and exit. In the lower-right corner, just above the Open button, click the drop-down menu to change the file type to All Files.Navigate to c:\windows\system32\drivers\etc.Windows User Account Control should pop up asking, “Do you want to allow this app to make changes to your device?” Click Yes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |