Hello Gatsby - Part 3: Configuring a Custom Domain

Substantially easier than I expected it to be.

Selecting the second option on the Overview page gives the option to set a custom domain name.

Entering my domain name `dmcqueen.co.uk` on the following screen Netlify prompt me to validate it manually, as they can not handle `.co.uk` Top Level Domains and I manage my domains via CloudFlare.

After telling Netlify about the domain name, I need to verify ownership of it (otherwise anyone would be able to use any address) - this is done by entering the Netlify provided CNAME records into CloudFlare (or whichever DNS you are using) manually - one for the `root` and one for `www`.

Following this, I needed to change the GitHub developer OAuth settings so that the callback URL now points to the domain name.

Once this was configured and propogated through, I was able to hit the domain directly for `/admin/` and login and post my blogs.

Simple!

The Netlify site provides documentation on working with custom domains.