Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
1  
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. –  w3d Apr 7 at 7:14

2 Answers 2

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

 
discard

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.