Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: unable to do any things with hosts file

13 May 2012   #1
furqanhussain

64
 
 
unable to do any things with hosts file

Dear,

I have installed windows7 home edition on my laptop. I have to enter ip address to access another application through host file but am unable to do any action either update delete or cut this file.

Please help to find out this problem.

thanks in advance.


My System SpecsSystem Spec
13 May 2012   #2
cyclic

Windows 7 home premium x64
 
 

Hello welcome to the forums.
Editing the hosts file is pretty straight forward providing you open it from an elevated command prompt (open notepad by right clicking select run as admin then use it to open hosts).
There can be problems occasionally, fortunately ther is a work around in this MS knowledge base article.

Good luck.
My System SpecsSystem Spec
13 May 2012   #3
logicearth

Windows 8.1 Pro (x64)
 
 

Could just drag it to your desktop, edit it then drag it back...works for me every time.
My System SpecsSystem Spec
Reply

 unable to do any things with hosts file




Thread Tools





Similar help and support threads
Thread Forum
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
Hosts File
Hey, I was wondering, is there any internet performance gain if you put a commonly used website's IP (like Google) in your Hosts file, so it doesn't need to ask a DNS server? I mean, because I have 30 websites I go on at least 10 times each day, and it lags when I open all of them :D Thanks!
General Discussion
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Tutorials
HOSTS file
I setup a hosts file in windows xp in order to use my website locally using the exact domain name by editing the hosts file by adding the line: 127.0.0.1 www.test.com This should resolve my local ip address for the test.com site and if apache is running, then it should load the website...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:48.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App