Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a custom domain for a GitHub Pages site. They said to set CNAME or A record. But what nameservers should I use? What is the default, or should I leave it blank?

share|improve this question
You can't set both the NAMESERVERS and the CNAME/A records at your domain registrar - the two are mutually exclusive. If you set the NAMESERVERS then you are instructing another server to handle your DNS, in which case any locally defined DNS records will be ignored. – w3dk Apr 7 '14 at 7:14

You answered your own question.

They said to set CNAME or A record.

As for the Nameservers, unless GitHub says otherwise, you are going to ask what the A Record or CNAME should be set on your domain name. Then, if you don't know how, ask your Domain Register about setting the CAME or A Record to what it needs to be for your domain name.

share|improve this answer

AFAIK unless somethings changed you arent able to use Namesevers as they are used for the main domain, you will have to use a A domain or a CNAME to cover the domain. Sorry to break the news to you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.