Crossposted from https://lemmy.world/post/19723787

My Gitlab Pages site works well under domain.com but not under www.domain.com. The www subdomain leads to a 401 message: “You don’t have permission to access the resource.”

My DNS has a CNAME entry for www pointing to domain.com. When I asked the DNS provider what the problem might be they said “Please contact your hosting provider and provide us with the record needed to be set for www in the DNS zone. The changes should have worked already.”

The reason I need this is that some old-school people visiting our website still type www. into the URL bar.

  • FarraigePlaisteach@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    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.