To edit hosts file in Windows 10, you need to run Notepad as Administrator. To do that, using your windows search icon in the taskbar in windows 10, in windows 7, click start / and type in search box: notepad. In windows 8 and windows 8.1, at the metro screen, enter notepad in search box (up top right conner).
a notepad.exe will show up, right click on that notepad.exe icon and choose Run as Administrator. It will ask you to accept permission, click yes to accept.
A new Untitled Notepad window will open, click File/ Open. Navigate in Lookup to C:\Windows\System32\drivers\etc (All windows) if your windir is locate other than C, then change it depend yours. Make sure you show All files in below picture.
Click into hosts file and Open.
A host file window will open, change it as you want (in my case, i have change my domain bienthuy.com to host at new host IP is 188.8.131.52)
After you’ve done editing, click File/ Save.
Close that Notepad Window, Clear DNS cache by open Command Prompt as Administrator, then run command: ipconfig /flushdns
(Some time, after clear DNS cache, you have to restart your computer to take effect)
Open your web browser and go to the domain you change (mine is bienthuy.com) to see if it showing new host content or not.
- Cách download Windows XP, Windows 7, 8.1 trực tiếp từ Microsoft
- How to Hide a User Account from the Welcome Screen in Windows 10
- How to fix “your credentials did not work” on Windows 10
- How to edit the Hosts file on Mac OS X
- Fix: Windows 10 Start Menu not work
- Làm thế nào để boot vào Safe Mode trong windows 10?
- How to fix Error 0x8007045b
Other Posts you may be interested in:
- PHP Images Hosting Script
- Cách dùng và công dụng của mật ong
- How to pin to start, unpin from start, pin to taskbar on windows 10
- Cách cài đặt Ccleaner để dọn rác máy tính – Phần 3
- How to switching hosting without downtime?
- Lý giải vị trí nốt ruồi trên cơ thể con người
- FFSJ 3.3 – Chia nhỏ hoặc nối các files dạng .a, .b, .c hoặc .001, .002, .003