Gitlab Pages incorrectly states custom domain already taken

Unable to re-add Pages custom domain

I have previously successfully hosted a static site using Pages on a custom domain I have for my repository Lincoln Ombelets / ljo-site · GitLab. I had accidentally selected to use HTTPS when I only need HTTP so I deleted the pages for the repo to re-make them.

But now, when I try to add my custom domain back it keeps saying “Domain has already been taken”. I tried deleting the repo altogether and recreating it, but it did not help. Navigating to the domain ( shows a Gitlab 401 unauthorized page.

It seems like the custom domain was not properly freed from the repo when I removed the pages or when I deleted the original repo.

The .gitlab-ci.yml: .gitlab-ci.yml · master · Lincoln Ombelets / ljo-site · GitLab

Thanks a lot for your time.

I have the same issue, did you find a solution?

I have exactly the same issue. I had my custom domain registered to my gitlab pages repository. Then I wanted to use a different repo for that domain and I removed the domain from the old repo, even deleted the repository completely. Now I can’t add the domain to the new repository. Does this mean I can’t use that domain on Gitlab pages anymore?