Skip to content

Knowledge Base

Setting up a domain on your VPS

Point a domain at your VPS and serve it over HTTPS.


  1. Add an A record pointing your domain at the VPS IP, and an AAAA record for IPv6 if you use it. See A records explained.
  2. Set up a web server on the VPS such as Nginx or Apache and add the domain as a site.
  3. Add HTTPS with a free certificate, for example with Certbot: certbot --nginx -d example.com -d www.example.com.
  4. Open ports 80 and 443 in your firewall, see Managing firewall rules on your VPS.

Changes can take a while to spread, see Understanding DNS propagation.

Please rate this article to help us improve our Knowledge Base.

0 0