← Back to the blog

Updating your hosts file in Vista 64-bit

I came across an interesting issue this morning whereby my hosts file had simply vanished.  For the unitiated amongst you, this file presents a kind of local DNS for Windows TCP/IP which essentially means you can make up a domain and point it at an IP address and have that apply to your machine only.

Now, normally this file is located in systemroot\system32\drivers\etc where systemroot is C:\Windows.  However, on 64-bit, System32 is replaced by SysWOW64.  Not such a big issue, except when you go looking for your hosts file from inside a 32-bit application such as Flex Builder / Eclipse.

For some reason, in Vista 64-bit, 32-bit applications can’t see the 64-bit tree, meaning that the hosts file is essentially invisible.  So, how the hell do we get round this?

Well, backdoor ahoy – there is a solution.  In your C:\Windows folder (%systemroot%) create a “sysnative” folder and browse through that.  Bingo! your good old 32-bit folder structure should now be present, and low and behold your hosts file.

Posted by Neil Middleton on 03 Nov 2008

blog comments powered by Disqus

From our portfolio

Jo's Trust
Website
JoTrust-Thumbnail
Charis Grants
Application
charis_thumbnail
iMoneymanager
Application
imoneymanager_small
www.flickr.com

Archives

From our blog

We’re looking for Ruby on Rails (RoR) developers to join our team!

Posted by Niklas Richardson on 12 Apr 2012

Monochrome are looking for a couple of enthusiastic Ruby on Rails developers to join the team – Both Lead and Junior/graduate roles. You don’t need to have years of Ruby on Rails...

The need for applications just keeps on growing

Posted by Adrian Munn on 24 May 2011

After 12 years in the industry experience has always told us to adapt and modify strategies in your business in order to survive and thrive. Monochrome are not adverse to taking on new challenges...

Places we would like to go...

Posted by Neil Middleton on 21 Jan 2011

Quite often in the office we will end up having a conversation about some particular company, that does something on a massive scale, and has a relevance to either technology or some sort of large...