How to map two subdomains to one github?

August 28, 2017 424 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) xx.domainname.com and xx.domainname.info to map onto the same github repository. I've successfully updated the CNAME records for the xx.domainname.info, 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.

This article explains how to manage your DNS records using the DigitalOcean Control Panel and can help you decide if DigitalOcean's DNS management tools are right for your situation.
Have another answer? Share your knowledge.