Computers, Programming, Technology, Music, Literature

unblock with hosts file entry

with 25 comments


Scroll to the solution section or click here if you want to skip some rant.

It’s May 1, I live in India, I desperately wanted to download some learning material, and is blocked here. Well, say ‘fuck’ to the government’s censorship. I used to think it was the imbecile firewall at my office, but when it tried at my home internet recently, IE gives PCBD, and chrome gives you bummer. I did not want to use a web proxy right off, because sometimes they just do not work with AJAX enabled, cookie enabled websites. And most of them do not support file downloads (at least in my experience, may be i haven’t tried harder).

I hate it when the security builders leave loopholes, and hide behind the face of the infamous dialog in the security industry ‘Nothing is 100% secure’. Well, you forgot the basics. When you block a website, you don’t block it based on the domain name. You got to be more advanced than a firewall using school kid.

I will show you a simple hosts file entry technique here to bypass the tyranny.


Wow, don’t I relish and cherish to be a computer engineer. Happy labor day.


Img src:



When you try to access, you can’t connect to the server. Both http, and https equivalent of the links. Your nslookup, ping fails. Somehow you manage to get the up of from online dns lookup websites, and instead of you try the ip, even then you can’t connect.




1. Go to you favorite DNS look up website, mine happens to me

2. Look up and get the ip addess


3. Add a hosts file entry to as (Remember the ip address of may change from the time of this writing). Windows hosts file location C:\Windows\System32\drivers\etc\hosts. Linux hosts file location /etc/hosts. Open a notepad as admin (if UAC enabled in Windows Vista or abobe), use sudo in linux for your favorite text editor (gedit Smile with tongue out), if not running as root.



4. Save the hosts file, breath the air of liberation. (and a free chick ad)


5. Click the Free Download, or Premium Download (if you own a Villa, and not happen to be a miser)

6. Once your download link is generated, you get another bummer, this time the URL in the address bar happens to be a subdomain of with different IP address, and hence blocked. Hang on, let’s copy the complete FQDN of the server, and do a DNS look up at


7. DNS look up of at yields an ip – Add a host entry for the same server and ip. (Note: the download server may vary based on your location, make sure you copy the correct server name from the address for a dns lookup)



8. Go back to your browser, hit the refresh button. See the magic.



Once again, happy labor day!



Update – Aug 9 2014 – Some commenter said it does not work anymore, so here’s a screenshot for you today. Still works.



Written by gmaran23

May 1, 2014 at 5:04 pm

25 Responses

Subscribe to comments with RSS.

  1. Not working as of today. Still blocked. Any other way?


    August 15, 2016 at 10:59 am

  2. it works like a charm. Thanks for sharing the knowledge!


    January 7, 2016 at 1:18 am

  3. You are a genius man. Thanks a lot for saving my day. Im from India was in desperate situation….but thank god you saved me. Excellent . For those who have trouble modifying hosts file here is simthe link how to do it:-


    October 16, 2015 at 11:48 am

  4. wow thank you so much man it works perfectly!!!!


    April 23, 2015 at 5:40 pm

  5. Just realised , you have to do this EVERYTIME you generate a link :/ its not constant , and aint good when you have a premium account!


    February 10, 2015 at 1:07 am

  6. Just realised , you have to do this EVERYTIME you generate a link :/ its not constant , and sucks when you have a premium acount!


    February 4, 2015 at 7:31 pm

  7. Thanks so much! your a legend!


    February 4, 2015 at 6:06 pm

  8. hey my hosts file not saving plz help


    December 3, 2014 at 1:48 pm

    • may be the file is read only? or you don’t have permissions to edit?

      Try opening your editor with Admini privs. sudo or runas admin.


      December 4, 2014 at 6:48 pm

  9. I tip my hat to you, kind sir. Worked like a charm. 🙂


    November 14, 2014 at 8:59 pm

  10. Works beautifully

    Abishek R Srikaanth

    October 30, 2014 at 1:37 pm

  11. It does not work for me


    September 13, 2014 at 7:47 pm

  12. download start stops at 1 second.any solution?


    September 8, 2014 at 4:18 pm

  13. I was actually using https and it was stopping at 1 second. But, when I went back to http, it says that the website is blocked.


    August 24, 2014 at 12:16 pm

  14. Hi

    I did the steps. Yet, uploaded stops at 1 second and nothing happens after that. Are you not facing this right now?


    August 24, 2014 at 12:07 pm

  15. Hi tried this with uploaded but still getting the msg
    “Not Found

    The requested URL /fc8970qz was not found on this server.”

    Havent tried others. Have followed the steps exactly as given. Request if you could help me or point out any omission in the process from my side.



    August 19, 2014 at 7:49 pm

  16. I changed the host file for the first time (ip is still the same as in your tutorial) but uploaded did not open. I even restarted, but still no luck. Any suggestions?


    August 17, 2014 at 12:24 am

  17. Thanks so much for your insight. It worked like a charm as you had instructed. However I’ve two questions:- 1) I’m a premium downloader on uploaded. Now as you suggested if subdomain of has different IP address, and hence blocked, then do I need to copy different DNS look up for uploaded sub domain like “http://fra-7m15-stor07, 08, 09 etc. in the hosts file entry ? Because if that’s needs to be done then it’s really tedious …
    2) Would this trick work for other file hosters also or only for only.
    Your early revert would be appreciated.


    August 10, 2014 at 2:06 pm

    • This trick works for a couple of other file sharing sites, and some others like piratebay, filestube..

      To make the subdomain’s nslookup a little less tedious, you may collect some frequent subdomains (by trying some uploads/downloads)and add IP mappings to all of them you have found in the hosts file. Or get creative and write an intercepting proxy script that when encounters a subdomain of does an nslookup and adds a hosts file entry for it. The script is what I would be after if I were in your position though it would take some for me script it.

      Let me know how you handle it so i’d learn a trick from you.


      August 11, 2014 at 10:11 pm

      • hi bro did u ever manage to make a script for that auto hosts entry?


        June 23, 2015 at 12:23 pm

      • Sorry I didn’t.


        July 5, 2015 at 1:38 pm

  18. It is not working anymore


    July 21, 2014 at 9:54 pm

  19. hattts off……working


    July 19, 2014 at 1:40 pm

  20. oh god you’re awesome, i’ve been lamenting the loss of uploaded for so long! many many thanks for this!


    July 7, 2014 at 4:04 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: