How to map two subdomains to one github?


I am trying to redirect a subdomain to a github repository. I own two domain names and both domain names point to the same server. I am trying to do the same with the subdomain, but with different domain names (one is .com and another is .info). So basically, I want the same subdomain (xx) and to map onto the same github repository. I’ve successfully updated the CNAME records for the, but am having trouble with the .com one.

Can anyone point me in the right direction? A step by step tutorial link would be super helpful.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Sorry to see that your question hasn’t received an answer yet. Unfortunately, after this much time, it is unlikely an answer for this specific question will be provided without more information. For people still landing here via search, check out this tutorial. It covers all the details of configuring DNS via the DigitalOcean control panel, including setting up CNAMEs.