Table of Contents
Configuring your domain for a Github website
So you have created a website with Github and now need to configure your domain name at Gandi so that it takes visitors to your website.
After having finished configuring your Github website for your domain, you will need to make some technical changes to your domain at Gandi. For security purposes, Gandi cannot perform these changes for you.
Step 1: Log into your domain name
You will need to log into your domain name with any of the contacts (other than the billing contact) (trouble logging in?).
Step 2: Change your zone file
You now need to make a change to your DNS zone file so that your domain points at your website.
Adding records
To add the CNAME record you need to first make an editable copy of your zone file (see instructions).
The entry or entries you need to add will look something like this (check your Github account to be sure):
www 10800 IN CNAME YourSiteName.github.io.
Replace “YourSiteName” with the actual site name you have at Github.
Example of a zone
Here is an example of a zone file for a domain (we'll use example.com
) that will bring visitors to a Github website:
@ 10800 IN MX 50 fb.mail.gandi.net. @ 10800 IN MX 10 spool.mail.gandi.net. imap 10800 IN CNAME access.mail.gandi.net. smtp 10800 IN CNAME relay.mail.gandi.net. webmail 10800 IN CNAME agent.mail.gandi.net. blog 10800 IN CNAME blogs.vip.gandi.net. pop 10800 IN CNAME access.mail.gandi.net. www 10800 IN CNAME YourSiteName.github.io.