How to bypass ISP blocked Facebook access
January 1st, 2011 by Phong Vu    

Your facebook access has been blocked by your ISP recently? Changing DNS trick doesn’t work anymore. The only way is to access through, but the connection to this domain is quite slow. But there is a way around that.

This is an instruction for Mac users only. PC users please look further below.

  • Go to Finder, press Shift+Command+G .
  • In go to folder dialogue, type in /etc then press “Go”
  • A Finder window will pop up, look for the hosts file
  • Copy the hosts file to the Desktop
  • Right click on the hosts file on the Desktop and select Open With->
  • Add these lines to the end of the file:
  • Then hit Command + S on your keyboard to save file .
  • Hit Command + Q to quit TextEdit.
  • Next copy the hosts file on your Desktop to its original /etc folder
  • It will pop a dialogue require Administrative authentication, click “Authenticate”. Then it will ask if you want to replace the current file, click “Replace”.
  • Done, just log on to Facebook as usual. If it still doesn’t work, clear all browser’s cache, and try again.

If you are not in the mood to edit the hosts file, here is my hosts file. Download it, unzip and replace your local hosts file.


For Windows is a tad different. The hosts file locates here:


Pull the hosts file to the Desktop then open it using NotePad and add above quoted lines to the end of the file. Save it and move it back to its original etc\ folder.

Good Luck facebooking!

You might also be interested in:

One Comment

  1. Just update the IP list for the hosts file. This time update all the remaining facebook domains that handles apps, login, developers, API and photos. That would fill the gap.


Share your thought:

Web design by Phong Vu - All content posted on here is copyright by Phong Vu and its rightful owner.