Add an A record @ which points to the IPV4 address of the VPS. For IPV6 add a AAAA record @ which points to the IPV6 address of the VPS.
Move the setup script to the server:
scp server-setup.sh root@example.andersmurphy.com:ssh into server as root:
ssh root@example.andersmurphy.comrun bash script:
bash server-setup.shfollow instructions.
Check status:
systemctl status caddyReload config without downtime.
systemctl reload caddyDocs: https://caddyserver.com/docs/running#using-the-service
Check status of service.
systemctl status app.serviceRestart service manually:
systemctl restart app.service