FAQ for Linode
I want to change my owncast domain name
You need to add the new domain to the reverse proxy config in /etc/caddy/Caddyfile
- Connect via ssh to your server
- Edit the file via
sudo nano /etc/caddy/Caddyfile
It should look like this:
your.old.domain {
reverse_proxy 127.0.0.1:8080
encode gzip
tls YOUR_EMAIL_ADDRESS
}
- Change
your.old.domain
to your new domain name - Save the file
CTRL+s
- Close the editor
CTRL+x
- Restart the reverse proxy
systemctl restart caddy
- Wait up to a few minutes for your new certificate to be generated