Introduction

Gregory Gibson, an IT specialist and technical writer, has been working in enterprise IT for over 15 years. He enjoys creating content to help people maximize their home labs and self-hosted IT projects, and to stay safe online. When not working, he enjoys photography, writing science fiction, and digital art. This article details how he built a private web archive using ArchiveBox on an Ubuntu virtual machine.

I built my own Wayback Machine, and now I never lose web pages

Installing ArchiveBox

Gregory installed ArchiveBox via Docker on a fresh Ubuntu 26. 04 VM with 4 GB of RAM. He chose the stable 0. 4 release over the redesigned 0. 9 development branch to avoid any gotchas. The Compose file was replaced with the single service that he actually needed: the ArchiveBox service.

Creating the Archive

Gregory initialized the collection, created an administrator, and started the dashboard. He accessed the private, login-protected interface on port 8000. He disabled ArchiveBox’s option to submit captured URLs to Archive. org because he wanted to keep everything self-hosted and local.

Gregory tested the archive by creating a small webpage and archiving it. He used the example. com domain for his first test, and ArchiveBox retained the original address but also created a timestamped snapshot. He then created his own webpage and hosted it on the same server, using a unique marker to preserve the page. He served the page from the Ubuntu server and created a snapshot at depth level 1 to retain the configuration file, the HTML page, and the image. Once the snapshot was completed, he pulled the plug on the web page and confirmed that ArchiveBox continued to work on port 8000.

Conclusion

Gregory Gibson demonstrated how to build a private web archive using ArchiveBox on an Ubuntu virtual machine. His approach allowed him to control the storage and ensure that he could preserve web pages and their associated files for future reference, even if they disappeared from the internet. This guide provides a step-by-step process for anyone interested in creating their own private web archive.

Comments