Host file

Posted on 2014-10-15
Medium Priority
Last Modified: 2014-10-15
I read the following:

To bypass this type of blocking you can configure your computer to always use a predefined IP address when accessing yyy.com. In order to do that, you need to edit the so called hosts file. On Windows it's "C:\WINDOWS\System32\drivers\etc\hosts".

Does this mean:

That I can put I can make any site think I coming from a different IP address?

For example if I want to come in to experts-exchange from ip (I made this up) I can edit the host file and experts exchange will record this as my ip address?
Question by:Starquest321
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 35

Accepted Solution

Dan Craciun earned 1000 total points
ID: 40382884

That simply bypasses the DNS queries from your computer.
Simply put, if you add this in your host file: experts-exchange.com

then every time you try accessing E-E your browser will go to

LVL 15

Assisted Solution

by:Haris Djulic
Haris Djulic earned 1000 total points
ID: 40382895
Host file is like a your private DNS i.e. you pc will firts look into the hosts file and then if the domain/compute name cannot yit will search your DNS for the records i.e. IP address.

This is the way that you can overcome the content filtering since usually it is done in the way that in the DNS server you resolve to wrong IP nad then the user gets the page cannot load instead of real content.

Let say that your official DNS is setup to resolve the youtube to then when you request the youtube DNS will give you wrong adress and you will get page error.. But if you put correct IP address of youtube in your hosts file that your request for IP resolving will not go to DNS and you will be able to access the site...

Hope that now it is more clear :)
LVL 96

Expert Comment

by:Lee W, MVP
ID: 40383074
That I can put I can make any site think I coming from a different IP address?
Put simply and another way:
No, it means that you can make your own computer think that any site is at whatever IP address you say it's at.

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question