-
Notifications
You must be signed in to change notification settings - Fork 726
Custom domain leading to GitHub pages 404 #703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like your repositories URL is set to All my View Site links work fine with http:// at the beginning of the URLs. Without the http:// browsers wont assume that you wan't a different website and will just run the link relative to your current path. |
You need to add file named CNAME (all caps) to your root directory, and only write a single line into it: the domain that redirects to your website. See this help article: https://help.github.com/articles/adding-a-cname-file-to-your-repository |
@mstoiber This isn't the problem at all. My GH pages page works fine. As @Arcath was mentioning, there seems to be a discrepancy between the site link on the GitHub API and what is displayed on the project repository page (prepends |
Suggest changing the title to 'repo homepage without url scheme should default to http'? |
So this is just echoing out the repo We shouldn't add any extra logic here, but clarifying how to configure this in the Wiki should help. |
@EpicDavi I was having the exact same issue as you just now, but adding a CNAME file--as @mxstbr suggested above--fixed the problem. I just had to follow the directions on the Github Help page that he appended to his comment. |
In my case, I had the CNAME file but somehow I created the CNAME file with exe permissions. After |
i had "madebysurendra.xyz" in my CNAME file, i changed it to "http://madebysurendra.xyz". i added two ip " 192.30.252.153, 192.30.252.154" in my A type and "cs14rendra.github.io" to CNAME on my DNS side. its working now. |
adding |
This worked for me. Thank you. |
How to fix this: |
i had "xiaohujiazi.top" in my CNAME file, i changed it to "xiaohujiazi.github.io". |
Hi!
I just started using the prose.io website. In my short time with it, I found that when I click "View Site" on a project, it redirects me to a GitHub pages 404 page.
For example, I have a GH pages site EpicDavi.github.io that is connected via CNAME to my domain, daviskr.com.
When I authorize/log into prose.io, I see that that project has the option "View Site" next to "View Project". When I click on "View Site", I am redirected to the URL prose.io/daviskr.com. This page is a 404 page for GitHub pages, stating "Page not found" and "There isn't a GitHub Page here." I don't think this was supposed to happen.
This issue also persists for other projects of mine that have GitHub pages. They redirect to the same 404 page but with the project name appended to the URL.
I am using FireFox 29.0.
Thanks!
The text was updated successfully, but these errors were encountered: