What monitoring should I set up for my custom domain?
UptimeRobot for uptime monitoring (free), SSL expiry alerts (to avoid certificate expiration), domain expiry alerts (30, 15, 7 days before), certbot auto-renewal (enabled by default), and document all DNS records as backup.
Verify This Answer
Cross-check this information using these trusted sources:
More FAQs in Custom Domain Setup Summary and Checklist Complete Guide for Node.js Deployment
Buy a domain, allocate an Elastic IP, configure DNS records (A and CNAME), set up Nginx server blocks for each subdomain, add SSL with Let's Encrypt, update backend CORS and cookies, update frontend env vars, verify everything works, and set up monitoring and auto-renewal.
A record for @ (root domain) pointing to EC2 IP, A record for api subdomain pointing to EC2 IP, A record for app subdomain pointing to EC2 IP (or CNAME to Vercel), and CNAME for www pointing to yourdomain.com.
Backend: CLIENT_URL=https://app.yourdomain.com. Frontend: VITE_API_URL=https://api.yourdomain.com/api and VITE_SOCKET_URL=https://api.yourdomain.com. Also update CORS origins and cookie settings (secure: true, sameSite: none, domain: .yourdomain.com).
Still have questions?
Browse all our FAQs or reach out to our support team
