Pointing cPanel root domain to Netlify

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Pointing cPanel root domain to Netlify



I've a domain let's call it example.com that is hosted in a shared server with cPanel (the DNS of the domain are pointing to the shared server). In this server I've some subdomains and my email accounts.
I want to point only my root domain to a Netlify using their custom domain. Like if a person access example.com it redirects to Netlify but if a person sends an email it redirects to the shared server or if access the subdomains also go to the shared server.



Is that possible to configure via DNS Zone Editor in cPanel?



Big thanks.




1 Answer
1



Netlify has documented custom domain setup rather well, since it is probably the most asked about feature.



As of this writing you can setup an apex (bare, naked) domain (example.com) to their load balancer IP (104.198.14.52) using an A record. If possible you could setup an ANAME or ALIAS record if your DNS provider has the option (most don't). When setting up a sub-domain (example: www), use a CNAME record and point it to the your-site-name-here.netlify.com value.


A


your-site-name-here.netlify.com



enter image description here



You can read about the advantages of setting up a sub-domain rather than using the bare domain. There are speed advantages on the CDN.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS