Protean Transdiscipline

Custom domain

The official documentation for adding a custom domain to gitlab pages is here.

The process is pretty straight forward. I use Gandi as domain name registration service and I had a little hiccup on the registration so I am posting the relevant sections here:

@ 10800 IN A
@ 10800 IN TXT "gitlab-pages-verification-code=0000000000000000000000000000" 10800 IN CNAME
www 10800 IN CNAME


Let's use letsencrypt via because we like to have it easy.

git clone
cd ./
./ --install

Generate a Gandi API key (admin->Security section)


export GANDI_LIVEDNS_KEY="ffffffff00000000" --issue --dns dns_gandi_livedns -d

Then copy the generated fullchain.cer to GitLab's pages certificate field and your .key to the private key field.

This should do it but you may have to wait a while before it kicks in. Don't forget to change your Nikola configuration (or whatever you use) tu use https as a base url of your site.

By: Michał | made on , modified/re-rendered on 2024-05-30 Thu 05:40 | made with: Emacs 27.2 (Org mode 9.4.4).| The Site plan. | RSS feed

@mastodon · @gitlab · @github

License: Peer Production License

build status