SETUIX.COM

The Technological Divide

  • Forum
  • Android
  • Linux
  • Microsoft
  • Apple
  • WordPress
    • WordPress Themes
  • Wallpapers
  • Tech
  • Web
Home Web How to change Windows hosts file

19 July, 2018 By Damian de Costa

How to change Windows hosts file

If you’re working on a new website and have not set up the appropriate DNS, or waiting for the DNS to propagate, you can edit the hosts file on your computer as a temporary solution.

The hosts file is located at “C:\Windows\System32\drivers\etc”. The the location is the same from Windows XP right up to Windows 10.

To edit the hosts file you will need Administrator access. If you have the appropriate access, follow these steps.

  1. Drag the hosts file to Desktop.
  2. Edit the file with notepad.
  3. Start with the IP address of the server, press tab once, then enter the domain name.
  4. Save and close the file.
  5. Drag it back to “C:\Windows\System32\drivers\etc”

You need to drag the file to Desktop as you cannot edit the file directly from the original folder. If you want to remove the line that you have added, you have easily place a “#” before the IP address to comment out the instruction.

Filed Under: Web

About Damian de Costa

I'm the founder of Setuix Solutions. I'm also a tech junkie with a passion for reading and gaming. Debian user that has given up on Windows and a huge heavy metal fan with a knack of breaking things.

Hey, read these articles too!

ExpressionEngine 2 with PHP 7

Windows-Cortana

Will Cortana Sway the Masses from Google to Microsoft

Public, Private and Hybrid Clouds

Windows 10 Update & Upgrade FUD

What to Look For in Your Web Hosting Provider

icloud

Ten Tips for Selecting Your Cloud Service Vendor

Terminator Genisys WallPapers

Is Artificial Intelligence Dangerous?

Microsoft’s Desperate Attempts at Saving Windows Mobile

How to Install a Clean Copy of Windows 10

· About Us · Contact Us · Privacy Policy · DMCA Policy · Sitemap · Contributors · RSS · Hosting Services ·

Copyright © 2023 setuix.com