How to Recover Site form WayBack Machine Easily

Recently I was buying some expired domains to build my own PBN (Private Blog Network). You might be knowing that, before buying we have to do proper domain analysis. I Have some set of criteria which I always look for before I grab those domains.

One such criteria I see is, Content on that domain. For seeing content I mainly use and sometimes I use Google Cache.

Most of the times what I do is, I just setup the domain with the existing content which I found on WayBack Machine.

There are many tools, software and services which are offering recovering service using wayback machine. If you don’t have enough time or if you don’t want to go with all these technical setup (minimal) then you can use to get the things done.

​Before we start recovery process, I assume that you will be aware of below few things.

  • You know How to use SSH 
  • Comfortable with Linux Server
  • Knowledge on Domain setup process


1. I will be using Digital Ocean Server LAMP setup

​2. Wayback Machine Downloader by Hartator

NOTE: I Recommend you to try on Fresh Server Setup if you don’t know what you are doing!

Get Free $100 Digital Ocean Credit

Signup with the below link and get free $100 credit on you digital ocean account. 

Signup to Digital Ocean

Instruction on how to Download Wayback Machine Content using WayBack Machine Downloader

1. First launch new LAMP Droplet on Digital Ocean or you can use any of your existing Linux server

2. ​Open SSH Connection 

3. ​Now try to install Wayback Machine Downloader on your Linux server with below command 

gem install wayback_machine_downloader

In most cases you will get below error. Because, we need Ruby to run this software.

root@lamp-512mb-blr1-01:~# gem install wayback_machine_downloaderThe program 'gem' can be found in the following packages:* ruby* rubygemsTry: apt-get install

If you got the above error, then just execute the below command to install ruby on your Linux machine.

root@lamp-512mb-blr1-01:~# apt-get install ruby

4. Now we are ready to download any site fully from wayback archive easily. 

5. ​To download site from wayback archive using Wayback Machine Downloader, we need to run the below command. Make sure it contains http:// and you replace with the domain you need to download from wayback machine.


If you are planning to download particular time archive, then you have to use the below command.

wayback_machine_downloader --timestamp 20060715122318

That last ID is a time which you can easily get it from wayback url. You can see the example URL below.​

6. Once you done with the download, you use dir command to see the directories on PWD (Present Working Directory). You will see Websites directory. Inside that you will see folder. In the folder you will see all the files related to that particular domain. 

wayback machine downloaded folders

Once you download the folder, go and explore the folders and files. Now you go to new domain setup and place those folders and files in the same directory structure. 

I hope this small tutorial is helpful for you guys. 

If you have any doubts related to this tutorial, feel free to ask on comments. 

P K Arun

I'm Arun, the guy behind this blog. I'm a full-time internet marketer and I love it. Here in this blog, I share about Affiliate marketing, SEO and other internet marketing stuff. If you are in the internet marketing industry then don't forget to subscribe to this blog.

Click Here to Leave a Comment Below 4 comments
Archivarix - October 12, 2017

To restore entire website from you can also try this service –

    Jenny - April 29, 2019

    Why would anyone do that, you guys are simply SCAM people utilizing a free-service, such a disgrace! overcharging people as well, I dealt with you guys last week trying to restore a website related to my fathers funeral, and you guys just squeezed me for more money. Really no shame!

Mike - October 13, 2017

Thanks for this post.

However, I prefer using paying service because they are much more reliable.

Maybe you should put a list of best wayback machine downloaders.

I already tested many of them and I can help you with that.

I think best ones in the market are and

Padmini - September 26, 2019

Thanks. I am looking to recover an old expired website content.


Leave a Reply: