Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

there was a time when you could redirect a server for debugging purpose simply by changing the windows hosts file.

This does not work with windows 8.

So what is the easiest way to redirect (let's say) superuser.com to localhost on windows 8?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Windows 8 can and does use the host file, but there are some complications, formost being windows Defender detects it as a trace of malware.

see the instructions here for whitelisting the file in windows defender http://support.microsoft.com/kb/2764944

and info on editing a hosts file http://www.jafaloo.com/2013/01/03/windows-hosts-file/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.