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: Hosts.txt or hosts.sys

23 Dec 2012   #1
kuchiyo

Windows 7 Enterprise 64 Bit
 
 
Hosts.txt or hosts.sys

in the drivers/etc folder is: hosts.txt and hosts.sys.

I want to edit the hosts file but i dont know is it hosts.txt Or hosts.sys.
Oh, theres a file called Hosts without extension on my diffrent pc too.

Can you tell me is it safe to edit hosts file as well?

The hosts file witout extension is not even working! i tried to place in:
google.com youtube.com
and it didint work.

Thanks.


My System SpecsSystem Spec
.
23 Dec 2012   #2
Alejandro85

Windows 7 Ultimate x64
 
 

The real one is hosts alone, without any extension. In a normal install, there should be no other "hosts" with any extension, with the single extension-less one. Make sure Windows explorer is not hiding the extension, which does by default.
My System SpecsSystem Spec
23 Dec 2012   #3
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

My System SpecsSystem Spec
.

03 Feb 2013   #4
kuchiyo

Windows 7 Enterprise 64 Bit
 
 

Oh, i can open the "hosts" file without extension but can't save it as it.
My System SpecsSystem Spec
03 Feb 2013   #5
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

Post a copy of your Host file here and I will look at it.

Jerry
My System SpecsSystem Spec
03 Feb 2013   #6
Alejandro85

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by kuchiyo View Post
Oh, i can open the "hosts" file without extension but can't save it as it.
Note that, since the hosts is stored in a system protected location, to be able to modify it you must run notepad (or whatever thing you use to edit it) as administrator. Otherwise you can view it but can't modify.
My System SpecsSystem Spec
Reply

 Hosts.txt or hosts.sys




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-S??
can the hosts file be changed to, or amended by, another file? IOW can there be a file named xyz that essentially replaces the hosts file, or adds entries to it? Possibly by a registry key or configuration setting? Of course it could by altering library fxns, but by other "simpler" means? ...
System Security
hosts...again...but differed
i put some of the network computers on my hosts list, to try and circumvent some issues and lost internet connectivity. none of the ip addresses are listed as the subnet, default gateway; etc. they were just ip's of other computers that connect to this network at times. why did that happen? is it...
Network & Sharing
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 05:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App