I redirected my GitHub main repository to a domain name. It is working fine,

kongaraju.github.com/kongaraju.github.io ===> kongaraju.in

at the same other repository gh-pages are affecting, they are redirecting to custom domain path.


kongaraju.github.com/resume ===> kongaraju.in/resume

results not found (404).

How to prevent redirecting other repositories to custom domain?


This is what dig tells me:

kongaraju.github.com.   3600    IN  CNAME   github.map.fastly.net.
github.map.fastly.net.  17  IN  A

Because of CNAME entry, any requests to kongaraju.github.com gets resolved to github.map.fastly.net.

Because of the A record, any query to github.map.fastly.net. gets resolved to

It's not possible to (not) redirect only specific repos, because all repos are available on githubusername.hithub.com & the combination of CNAME & A record entry results in all repos being redirected

  • is there any alternative way to show other repos under domain path – Konga Raju Jan 24 '14 at 5:28
  • not to my knowledge. – Sathyajith Bhat Jan 25 '14 at 7:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.