How to change root entry to CNAME for github pages?
I am trying to move from NameCheap to DigitalOcean. My DNS is amirraminfar.com. Currently, in NameCheap I have amirraminfar.com setup as a CNAME to amir20.github.io.
$ dig amirraminfar.com ;; ANSWER SECTION: amirraminfar.com. 1587 IN CNAME amir20.github.io.
When trying to do the same thing in DigitalOcean, I cannot change amirraminfar.com to CNAME because @ seems to be invalid.
Is this a known problem? Perhaps, it is not possible to setup a root as CNAME but then why is it working on NameCheap.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.