Understanding the Requirement
When using custom domains with popular website-sharing platforms like Replit, GitHub Pages, Netlify, or Vercel, you often need to configure a CNAME record in your platform's DNS settings. This is because:
- Verification: The platform needs to verify that you own the domain.
- Routing: The CNAME record ensures that traffic to your custom domain is routed to the platform's servers.
How to Set It Up
To set up a CNAME record:
- Log in to your platform's project.
- Create a new CNAME record, or connect via CNAME in settings. Connect using
yoursubdomain.tommustbe12.com
as the url. (Replace yoursubdomain with your actual subdomain name you created) - Save the changes and wait for DNS propagation, which can take up to 24 hours.
Why It Matters
Without proper CNAME configuration, your custom domain will not work as expected (returning 404s, not founds, 401s, etc.). This step is crucial for ensuring your website is accessible via your chosen platform.