Search code examples
gitlabgitlab-pages

GitLab pages URL is not what I expect


I'v been at this for ages and I can't get the gitlab.io url to be correct for my github pages.

I created a group called lodjit-public and in there I created a project called lodjit-www.gitlab.io.

I expect to be able to find the page at lodjit-www.gitlab.io but it's telling me the page is at lodjit-public.gitlab.io/lodjit-www.gitlab.io...

How do I fix this?


Solution

  • GitLab defines how your group and project name are mapped to the gitlab.io domain. The group name becomes the host name in the URL, the project name becomes a path in the URL. If you want a different hostname, you must use a corresponding username or groupname.

    See the documentation: https://docs.gitlab.com/ee/user/project/pages/getting_started_part_one.html#gitlab-pages-domain-names