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.
Suppose:
kongaraju.github.com/resume ===> kongaraju.in/resume
results not found (404).
How to prevent redirecting other repositories to custom domain?
Best Answer
This is what dig tells me:
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 199.27.72.133.
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