Setting up a custom domain with Pages

Let's say you own the domain example.com, and you would like to use it
for your Pages. Telling the GitHub server to serve from this domain is
easy: just create a file named CNAME in the root of your pages and put
the domain (or subdomain) into the file: