5 ms·
You can setup a landing page on Gitlab Pages with a custom domain and email capture form (and ssl, if you want) for free. Example: http://albanybusiness.org ht
by dhruvkar 10y ago
You can setup a landing page on Gitlab Pages with a custom domain and email capture form (and ssl, if you want) for free.
Example: http://albanybusiness.org http://albanybusiness.org (all on gitlab pages with a capture form using mailerlite)
Here's how to do the setup:
Official Tutorial: https://docs.gitlab.com/ee/pages/README.html#add-a-custom-domain-to-your-pages-website https://docs.gitlab.com/ee/pages/README.html#add-a-custom-do...
My writeup with insights, geared towards beginners: https://medium.automizzen.com/gitlab-pages-create-host-a-static-website-for-free-part-1-5d2ee6359f8e#.qe0pkaivu https://medium.automizzen.com/gitlab-pages-create-host-a-sta...
I use Hugo with one of the pre-made themes. I've done this with ~7-8 sites now.
Edit: readability
- tedmiston 10y agoI noticed you're not using SSL with the custom domain on GitLab pages. Is there some restriction or complications with doing so?
- dhruvkar 10y agoIt's a little cumbersome to setup with Gitlab Pages with LetsEncrypt TLS. I was using a homegrown static site generator before switching to Hugo, so it took a few trial and errors to set it up correctly each time. The only real issue is since we can't access the Gitlab Pages server, we can't do any redirects http -> https. My sites https://dhruvkar.com https://dhruvkar.com and https://automizzen.com https://automizzen.com are both hosted on Gitlab Pages and using LetsEncrypt TLS. I just didn't bother for the one mentioned above. I use a javascript http->https redirect currently, but that's not ideal.