lnw
By:
lnw

How to map two subdomains to one github?

August 28, 2017 96 views
Git DigitalOcean

Hi!

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.

Be the first one to answer this question.