this post was submitted on 13 Sep 2024
5 points (85.7% liked)
WebDev
1162 readers
2 users here now
Community for all things Web Development related.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It wouldn't be the first time that Gitlab documentation[1] contradicted reality, but I don't see an option in Gitlab Pages to achieve what you describe.
1: https://docs.gitlab.com/ee/user/project/pages/custom_domains_ssl_tls_certification/#redirect-wwwdomaincom-to-domaincom-with-cloudflare
Ah. Looks like Gitlab just does a redirect versus serving the same content under both domains.
Assuming you followed all the steps, then I'm not sure what the problem could be.
Thanks. I followed them as closely as possible. Their instructions are for Cloudflare whereas I'm using Letshost. But Letshost haven't figured it out either since I notified them.