Rocket Logo Rocket Guides Docs Blog Toggle darkmode

Go Live: Overview

A few things are usually needed before going live "for real".

Add a Not Found Page

When a user enters a URL that does not exist, a "famous" 404 Page Not Found error occurs. Many servers are configured to handle this automatically and to serve a 404.html page instead.

The Rocket Launch preset ships a default 404 template you can use.

To enable it, you need to create a and use the 404 layout.

👉 docs/

layout: layout-404
permalink: 404.html

Add a Sitemap

A sitemap can be used to inform search engines or services about the pages your site has.

You can create one by adding this file:

👉 docs/sitemap.njk

layout: layout-raw
permalink: /sitemap.xml
eleventyExcludeFromCollections: true
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="">
  {% for page in collections.all %}
      <loc>{{ rocketConfig.absoluteBaseUrl }}{{ page.url | url }}</loc>
      <lastmod>{{ }}</lastmod>
      <changefreq>{{ if else "monthly" }}</changefreq>
  {% endfor %}