Problems with [username] .imtqy.com

I recently met the miracle of posting free gh pages on github. I was able to create several branches of gh pages for repositories on my github account and had no problems distributing and distributing links like "my_username.imtqy.com/my_repo" and "my_username.imtqy.com/my_other_repo". Then I found out that I can create a nice landing page by creating a repo called "my_username.imtqy.com". All links worked perfectly.

I had problems when I wanted to set up my own domain for my_username.imtqy.com. I bought "my_domain.com" and followed all the instructions here . When I visit "my_domain.com", I see the content from "my_username.imtqy.com" .... Nice! However, when I visit "my_domain.com/my_repo", I get a github 404 page that says: "There is no github page here." When I visit "my_username.imtqy.com/my_repo", it redirects to "my_domain.com/my_repo" and displays the same 404 page. On namecheap.com (where I bought "my_domain.com"), I have:

@ 204.232.175.78 A (address) www my_username.imtqy.com CNAME (alias) 

Then in the root of the repo "my_username.imtqy.com" I have a CNAME file that contains only the text "my_domain.com".

I can’t understand what’s wrong, because this installation works like for others. One possible culprit is that my github username is in CapizedCamelCase.

In any case, I was wondering if someone else had a similar problem and had some advice. If this helps, here is the link to the actual repo:

https://github.com/ScottLNorvell/ScottLNorvell.imtqy.com

Thanks!

+7
git github github-pages
source share
3 answers

Now that you have your own domain, your project pages are available at yourcustomdomain.com/project_page .

When you set up the GH Pages site for username.imtqy.com and use your own domain, you can no longer access the project pages from username.imtqy.com/project_page , but you can access them directly from yourcustomdomain.com/project_page . Although there is a redirect to username.imtqy.com => yourcustomdomain.com , for username.imtqy.com/project_page => yourcustomdomain.com/project_page there is no redirect, so you must specify all links / traffic for the project pages directly to yourcustomdomain.com/project_page .

More information about custom domains for GitHub Pages and automatic redirects here: https://help.github.com/articles/setting-up-a-custom-domain-with-pages#automatic-redirects

Also, note that you should not use the CNAME and A record from your DNS provider, only the A record. You must remove the CNAME record from the settings of your DNS providers, because this is processed on GitHubs servers via

+11
source share

I see no real reason for your problem. Try contacting GitHub support to find out if they can help - they are really nice people and respond fairly quickly.

+2
source share

For me, the problem is that I place the CNAME file outside the source folder in the source branch, so rake generate does not work

Now put the CNAME in the source folder in the source branch, then rake generate and rake deploy will make this CNAME in the root folder in the master branch

+1
source share

All Articles