Goal
My goal is to set up a custom domain for my static site hosted on GitLab Pages with HTTPS protocol enabled.
- Register a custom domain on Google Domains (
jocodoma.com
). - Obtaining SSL/TLS certificates from Let’s Encrypt (for subdomain, which is
blog.jocodoma.com
) - Setup DNS and the static site (on GitLab Pages) as a subdomain under the custom domain
References:
- Google Domains
- GitLab Pages custom domains and SSL/TLS Certificates
- Let’s Encrypt for GitLab Pages
- Tutorial: Securing your GitLab Pages with TLS and Let’s Encrypt
- Let’s Encrypt
- Let’s Encrypt - Rate Limits
- Host multiple domains with a single certificate
- Get Certbot
- Gitlab 使用自訂域名搭配 Cloud Flare 免費升級成 https