Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

no custom domain name option available in gh pages

I just created this repository:

 

https://github.com/fireflysemantics/test-deploy.fireflysemantics.com

 

 

I then setup A records for it via my domain provider.  After that I pushed  test page to gh-pages.  When I go to settings > gh-pages it just says:

 

 Your GitHub Pages site is currently being built from the gh-pages branch.

 

And there is no custom domain option.  I wish to serve the url `test-deploy.fireflysemantics.com` and on the other repositories that I'm serving from a sub domain this is all possible.  Thoughts?

 

2 Replies
Pilot Lvl 3
Message 2 of 3

Re: no custom domain name option available in gh pages

Hey @fireflysemantics,

 

Helps arrived! The gh-pages that GitHub is refering to is the branch of the repository that is deployed, not the URL that it's deployed to. Under that section, there should be a section that is titled Custom domain. Here, you can enter the custom domain that you wish for the site to be deployed to. As long as you've configured the DNS correctly (which it looks like you have), then it should push to that domain.

 

GitHub Pages - Custom domains.png

 

There's some more info about this over here.

Pilot Lvl 1
Message 3 of 3

Re: no custom domain name option available in gh pages

I know that you have to create a file named CNAME with the custom domain, and in the DNS you have to redirect the domain to GitHub :)