Mobile app version of vmapp.org
Login or Join
Samaraweera270

: How to connect my custom domain to github.io What should I do to see my github.io page content when I enter mydomain.com into browser address bar? I have a custom .com domain and a Jekyll

@Samaraweera270

Posted in: #Cname #Dns #Domains #Github #Jekyll

What should I do to see my github.io page content when I enter mydomain.com into browser address bar?

I have a custom .com domain and a Jekyll generated webpage at username.github.io/repositoryname. Github tells me to set a CNAME record in my repository pointing to my custom domain and if it didn't work add an A or CNAME record in my domain DNS settings. Simply I can't get it to work. Which records should I change in my DNS provider exactly?

And one last point, I prefer to see the content from github project and not to be forwarded to it's URL (I prefer users don't notice that I am using github.io).

Any insights?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Samaraweera270

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pope3001725

It requires two things;


Add a file called CNAME at the root of the project which only contains the domain name, see the docs
In your DNS server, add an entry. This is done at your domain name service provider, or named/bind zone file


Follow the instructions on setting up a custom domain with GitHub pages

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme