Domain Setup
1. Purchase a Domain Name
- Choose a domain registrar (e.g., Namecheap, GoDaddy, Cloudflare, etc.).
- Search for your desired domain name and purchase it.
Cloudflare offers the most affordable domain registration pricing with no hidden fees or inflated renewal costs. Free WHOIS privacy is included, and seamless integration with Cloudflare's DNS, CDN, and SSL services ensures top-tier security and performance. While other registrars like Namecheap and GoDaddy may advertise lower first-year prices, their renewal fees often increase significantly—sometimes by two to four times—in subsequent years. Learn more at the Cloudflare Domain Registrar.
2. Configure Domain Name System (DNS)
The main domain will connect with your frontend, and we need a subdomain for connecting with the backend service. Follow your frontend and backend service providers instructions for connecting your domain with them. You'll generally get the domain connecting credentials after you deploy frontend or backend on their servers, so follow these steps below after the deployment.
- Go to your domain registrar’s dashboard.
- Find the DNS settings or "Manage DNS" section.
- Set up CNAME records for subdomain (e.g.,
subdomain.yourdomain.com
)
3. Configure SSL (HTTPS)
Most of the frontend and backend deployment service providers offer free SSL / TLS service and it's automatically generated.
Using a Content Delivery Network (CDN) for frontend assets is highly recommended. CDNs significantly improve website performance and reduce page load times. Cloudflare, for example, offers a free plan that includes CDN, DNS, and SSL services, along with protection against various types of attacks.