You got this!
Here's the overall process:
- In your domain registrar, delete your DNS records. Then go to your domain name in your browser and check that it stopped working. Note: depending on your domain registrar, it may take from 5 minutes (on Namecheap) to 48 hours for the DNS changes to take effect so you just have to wait.
- Create DNS A records to link your domain name to GitHub Pages' IPv4 addresses.
- Create a CNAME record to link the
www
subdomain to GitHub Pages' domain name ([your_github_username].github.io
). - Create AAAA records to link your domain name to the IPv6 addresses.
- When you're done, your DNS records should look something like this (except replaced with your own GitHub Pages domain name):
Depending on your domain registrar, it could take from 5 minutes to 48 hours for your DNS records to take effect.
You can re-watch the video if you get stuck at any step. Good luck!
Optional
Some (but not all) domain registrars provide a DNS record called an ALIAS record, which can be used like a CNAME record, except it's for the base domain name (no subdomain). If your domain registrar offers ALIAS records, try deleting your A records and AAAA records and replacing them with an ALIAS record: