Custom Domain
Set up a custom domain for your SaaS. This guide shows you how to configure DNS and SSL certificates.
Vercel
1. Go to your project in Vercel
2. Navigate to Settings → Domains
3. Add your domain (e.g., `yoursaas.com`)
4. Configure DNS records as instructed:
1Type: A
2Name: @
3Value: 76.76.21.21
4
5Type: CNAME
6Name: www
7Value: cname.vercel-dns.comVercel will automatically provision an SSL certificate once DNS is configured.
Netlify
1. Go to your site in Netlify
2. Navigate to Domain settings
3. Add your custom domain
4. Configure DNS records as instructed
Netlify will automatically provision an SSL certificate.
AWS EC2
If you're using AWS EC2, you'll need to:
- Configure your domain's DNS to point to your EC2 instance's IP
- Set up nginx as a reverse proxy
- Install SSL certificate using Let's Encrypt
1# Install Certbot
2sudo apt-get update
3sudo apt-get install certbot python3-certbot-nginx
4
5# Get SSL certificate
6sudo certbot --nginx -d yoursaas.com -d www.yoursaas.com💡 Tip
DNS changes can take up to 48 hours to propagate. Use a DNS checker tool to verify your configuration.