Skip to main content

Cloudflare-setup

Setup DNS for lejencodes.com Github page

Login to cloudflare account Under DNS management

  1. Click on add records,
    1. At type select A,
    2. At name input @ or lejencodes.com
    3. At IPv4 address input ips below
  2. Repeat above steps for AAAA records

To create A records, point your apex domain to the IP addresses for GitHub Pages.

185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153

To create AAAA records, point your apex domain to the IP addresses for GitHub Pages.

2606:50c0:8000::153
2606:50c0:8001::153
2606:50c0:8002::153
2606:50c0:8003::153

To confirm that your DNS record configured correctly, use the dig command,

For A records.

dig lejencodes.com +noall +answer -t A
> lejencodes.com    3600    IN A     185.199.108.153
> lejencodes.com 3600 IN A 185.199.109.153
> lejencodes.com 3600 IN A 185.199.110.153
> lejencodes.com 3600 IN A 185.199.111.153

For AAAA records.

dig lejencodes.com +noall +answer -t AAAA
> lejencodes.com     3600    IN AAAA     2606:50c0:8000::153
> lejencodes.com 3600 IN AAAA 2606:50c0:8001::153
> lejencodes.com 3600 IN AAAA 2606:50c0:8002::153
> lejencodes.com 3600 IN AAAA 2606:50c0:8003::153