I have added my domain to the GitLab pages settings and verified it.
The page works fine when accessing it via
www.example.com returns a 401 error from GitLab (
You don't have permission to access the resource.).
My DNS entries:
A record @ 188.8.131.52(The GitLab Server)
CNAME record www username.gitlab.io.
TXT record _gitlab-pages-verification-code [verification code]to verify domain to GitLab
URL Redirect Record www https://example.com Unmasked(This entry does not seem to be working, even after waiting multiple days.)
I'm using Namecheap as domain name provider. The hosted web page is a Flutter web app in one case, and a static website created with Jekyll in the other.
I have tried re-adding the domain to GitLab pages, but to no avail. The repository is set to public.