Setup a new domain

Assume we have bought a new domain from namecheap and we are managing DNS records via DigitalOcean.

  1. Point to DigitalOcean Nameservers From Common Domain Registrars.
  2. Create A records on DigitalOcean.
  3. Install and setup Nginx.
  4. Secure Nginx with let's encrypt.