Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

This is what dig tells me:

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

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

share|improve this answer
    
is there any alternative way to show other repos under domain path –  Konga Raju Jan 24 at 5:28
    
not to my knowledge. –  Sathya Jan 25 at 7:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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