Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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) 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.
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.×