TIL - configuring HTTPS for Github Pages and OVH
This TIL is following configuring verified domains for two of my websites hosted on Github Pages with HTTPS enabled.
- Remove default DNS CNAME and A entries in OVH.
- Add the A entries specified by GH Pages, and add TXT entries for domaine verification.
- Add a CNAME entry for
www.domain.com
going to the default GH pages domain, i.e.username.github.io
ororganization.github.io
.
Without the www
subdomain entry, the DNS check fails and HTTPS cannot be enabled.