Host file

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 12.23.34.21 (I made this up) I can edit the host file and experts exchange will record this as my ip address?
Starquest321Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan CraciunIT ConsultantCommented:
Nope.

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

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

HTH,
Dan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Haris DulicCommented:
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 1.1.1.1 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 :)
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.