I'm thinking about a simple static site with no external dependencies, hosted in several places and submitted to a web archive. What else would give it a better chance of surviving for a century or more?
How would you keep a website around for 100 years?
Answers
The hard part is less the code and more who takes responsibility for it. Free hosts can change their terms or disappear, and accounts may become inaccessible. Multiple hosts help, but they aren't a century-long plan.
Think about who could take over after you and how they would find the files, access the accounts, and pay for or move the hosting. If this is meant to outlive you, an estate plan or arrangement with an archive might be worth exploring.
Reply to this answer
Keep the content portable. Plain HTML and CSS, local images, and little or no JavaScript make the site easier to move and understand. Make sure the text and images are accessible without scripts, rather than relying on infinite scrolling or a complex app.
Simple formats are a sensible bet, not a guarantee that browsers a century from now will render everything correctly. Save the source files as well as the published pages so someone has options if the site needs to be adapted.
Reply to this answer
Backups, then backups of the backups. A useful starting point is three copies on two types of media, with one copy off site. Test that the files can actually be read and restored, and plan to move them to new media over time.
A professional digital archive could be another route to investigate. A public web archive is useful too, but an archived copy isn't the same thing as keeping the original site live.
Reply to this answer
Several copies don't solve the address problem. Visitors still need some way to find a working copy if the host or domain stops working. Even without a custom domain, you're relying on the host's address and infrastructure.
Mirrors can reduce dependence on one host, but I'd document where the copies are and how to publish them elsewhere. Someone may need to update links or redirect people when a location disappears.
Reply to this answer
You could also look into decentralized storage options such as IPFS or permaweb services. They're alternatives to investigate, not a reason to skip ordinary backups or assume the site will remain easy to find and view forever.
Reply to this answer
Add your answer
Answers are reviewed before publication.
c3~heap_614:
That also depends on the goal. Keeping a personal page publicly reachable is a different problem from preserving a copy for future generations.