How to map two subdomains to one github?

August 28, 2017 560 views
Git DigitalOcean


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.

1 Answer

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.

Have another answer? Share your knowledge.