Home / OS / Windows Tricks / How to change or Modify your hosts file
How to change or Modify your hosts file
How to change or Modify your hosts file

How to change or Modify your hosts file

How to change or Modify your hosts file –

How to change or Modify your hosts file in Windows 10, Windows 8, Windows 7, and Windows Vista use User Account Control (UAC), so Notepad must be run as Administrator.

For Windows 10 and 8

  1. Press the Windows key.
  2. Type Notepad in the search field.
  3. In the search results, right-click Notepad and select Run as administrator.
  4. From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts
  5. Make the necessary changes to the file.
  6. Click File > Save to save your changes.

For Windows 7 and Vista

  1. Click Start > All Programs > Accessories.
  2. Right-click Notepad and select Run as administrator.
  3. Click Continue on the Windows needs your permission UAC window.
  4. When Notepad opens, click File > Open.
  5. In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
  6. Click Open.
  7. Make the necessary changes to the file.
  8. Click File > Save to save your changes.

Windows NT, Windows 2000, and Windows XP

  1. Click Start > All Programs > Accessories > Notepad.
  2. Click File > Open.
  3. In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
  4. Click Open.
  5. Make the necessary changes to the file.
  6. Click File > Save to save your changes.

Linux

  1. Open a terminal window.
  2. Open the hosts file in a text editor (you can use any text editor) by typing the following line:
    sudo nano /etc/hosts
    
  3. Enter your domain user password.
  4. Make the necessary changes to the file.
  5. Press Control-x.
  6. When asked if you want to save your changes, answer y.

Check Also

How to control your computer from anywhere using your phone

How to control your computer from anywhere using your phone

How to control your computer from anywhere using your phone Chrome Remote Desktop If you’re …

7 comments

  1. Thank you ever so for you blog post.Much thanks again. Awesome.

  2. Thanks so much for the article post.Much thanks again.

  3. A round of applause for your article post. Keep writing.

  4. Looking forward to reading more. Great blog post.Really looking forward to read more. Great.

  5. Muchos Gracias for your blog post.Really thank you! Fantastic.

Leave a Reply

Your email address will not be published. Required fields are marked *