Skip to content

Instantly share code, notes, and snippets.

@pascalduez pascalduez/index.md
Last active Jan 1, 2019

Embed
What would you like to do?
Github page over HTTPS, setting up a custom domain at Gandi

Github page over HTTPS, setting up a custom domain at Gandi

DNS configuration

With an apex domain

@ 10800 IN A 185.199.108.153
@ 10800 IN A 185.199.109.153
@ 10800 IN A 185.199.110.153
@ 10800 IN A 185.199.111.153

With an apex domain and www subdomain

@ 10800 IN A 185.199.108.153
@ 10800 IN A 185.199.109.153
@ 10800 IN A 185.199.110.153
@ 10800 IN A 185.199.111.153
www 10800 IN CNAME webredir.vip.gandi.net.

Keep emails at Gandi

@ 10800 IN A 185.199.108.153
@ 10800 IN A 185.199.109.153
@ 10800 IN A 185.199.110.153
@ 10800 IN A 185.199.111.153
www 10800 IN CNAME webredir.vip.gandi.net.
@ 10800 IN MX 50 fb.mail.gandi.net.
@ 10800 IN MX 10 spool.mail.gandi.net.
@ 10800 IN TXT "v=spf1 include:_mailcust.gandi.net ?all"

Check

$ dig domain.tld +noall +answer

; <<>> DiG 9.13.5 <<>> domain.tld +noall +answer
;; global options: +cmd
domain.tld.          8480    IN      A       185.199.111.153
domain.tld.          8480    IN      A       185.199.109.153
domain.tld.          8480    IN      A       185.199.108.153
domain.tld.          8480    IN      A       185.199.110.153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.