Watch Windows 10:- Editing my hosts file

Posted on
6,106 Points
1 Endorsement
Last Modified:
Experience Level: Intermediate
Edward van Biljon
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this video we chat about editing your local hosts file. This can be done to test a new application or redirect a URL to something else or maybe you have a new Exchange server with a different name space you want to test.

Video Steps

1. Launch Notepad

Click the start button and type in Notepad.

2. Select RunAs Administrator

Once you have typed in Notepad, you will be presented with a list of options, select RunAs Administrator

3. Navigation

Once you have Notepad Open, click on File then open and navigate to C:\Windows\System32\Drivers\etc.

4. Open Hosts

Once you have navigated to the location, you will see a blank page as it is listing .txt files, change it to "All Files" in the bottom right.

5. Enter Information

Enter in the information like and the url for example outlook.office365.com, now click on File and Save or Ctrl S.
1 Comment
LVL 31

Expert Comment

by:Andrew Leniart
This process with the hosts file has been confusing users for years. I've always thought that MS would do well to give an option of switching to an elevated mode on the fly in Notepad and many other of their applications.

Suggested Videos

Today I received a windows update and my Windows search results just showed a big black square. I use this to quickly find documents and programs on my PC.  At first I thought something was wrong, perhaps a virus. The full fix is simple.
I constantly test drive different Web Browsers yet none have inspired me to write a review about any one of them. Brave is the exception to that rule and in this article, I'll try and point out the reasons why I think that Brave is indeed far superi…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month