How to host a simple website with links to Snapshots, RPC, Validator, Grafana etc.
Example: https://celestia.waynewayner.de/
- Copy the celestia-website folder to your server
- Edit the links inside the index.html according to your endpoints and validator address. I recommend nginx-proxy-manager if you want to use a domain.
- Start the webserver. We use the python 3 http.server in this example.
python3 -m http.server 8080 --directory /home/celestia/celestia-website/
- Check if you can reach your server on http://<yourIP/Domain>:8080
- If it's working you can create a systemd service
sudo nano /etc/systemd/system/celestia-website.service
Enable and start service[Unit] Description=Celestia website After=network-online.target [Service] User=$USER ExecStart=python3 -m http.server 8080 --directory /home/celestia/celestia-website/ Restart=on-failure RestartSec=3 LimitNOFILE=4096 [Install] WantedBy=multi-user.target
sudo systemctl daemon-reload sudo systemctl enable celestia-website.service sudo systemctl start celestia-website.service
- Done