You have to activate the pages feature. In your gitlab.rb:

pages_external_url "IP_OF_YOUR_GITLAB"
gitlab_pages['enable'] = true

There is a tutorial: https://www.youtube.com/watch?v=dD8c7WNcc6s&feature=youtu.be And the complete documentation: https://docs.gitlab.com/ce/administration/pages/index.html

Answer from Jeremad on Stack Overflow
🌐
GitLab
docs.gitlab.com › gitlab docs › administer › update your settings › gitlab pages
GitLab Pages administration | GitLab Docs
Pages are stored by default in /var/opt/gitlab/gitlab-rails/shared/pages. To use a different location, edit /etc/gitlab/gitlab.rb:
🌐
GitLab
forum.gitlab.com › gitlab ci/cd
How to customize the path where Gitlab Pages are published? - GitLab CI/CD - GitLab Forum
April 1, 2024 - Problem to solve Describe your ... Gitlab Pages are published to a URL that looks like this: https:// .gitlab.io/-/ /product/ / /-/jobs/ /artifacts/public/index.html I would instead ......
🌐
GitLab
docs.gitlab.com › gitlab docs › use gitlab › deploy and release your application › gitlab pages › default domain names and urls
GitLab Pages default domain names and URLs | GitLab Docs
You created a group for your engineering department called engineering, a subgroup for all your documentation websites called docs, and a project in this subgroup is called workflows. Your project URL is https://gitlab.com/engineering/docs/workflows/. After you enabled GitLab Pages for this project, the site is available at https://engineering.gitlab.io/docs/workflows.
🌐
GitLab
forum.gitlab.com › how to use gitlab
[SOLVED] Find the GitLab Pages url on the UI - How to Use GitLab - GitLab Forum
July 17, 2020 - Can I see my gitlab Pages url somewhere in the UI? Just like githib does. Otherwise, is there an easy way to find the gilab pages url? Or is it the only way to know where you site is begin published to read this documentation? https://docs.gitlab.com/ee/user/project/pages/getting_started_p...
🌐
GitLab
docs.gitlab.com › gitlab docs › use gitlab › deploy and release your application › gitlab pages › settings
GitLab Pages settings | GitLab Docs
April 25, 2022 - Then the .gitlab-ci.yml example below moves all files from the root directory of the project to the public/ directory. The .public workaround is so cp doesn’t also copy public/ to itself in an infinite loop: create-pages: script: - mkdir .public - cp -r * .public - mv .public public pages: true # specifies that this is a Pages job and publishes the default public directory rules: - if: $CI_COMMIT_BRANCH == "main"
🌐
GitLab
docs.gitlab.com › gitlab docs › use gitlab › deploy and release your application › gitlab pages
GitLab Pages | GitLab Docs
In that case, you must be an administrator in your domain’s registrar (or control panel) to set it up with Pages. If you’re using GitLab Pages default domain (.gitlab.io), your website is automatically secure and available under HTTPS.
Find elsewhere
🌐
GitLab
genboree.org › help
Introduction · Pages · Project · User · Help · GitLab
For more information, see Create redirects for GitLab Pages. ... On the top bar, select Main menu > Projects and find your project. On the left sidebar, select Settings > Pages. If this path is not visible, select Deployments > Pages.
🌐
GitLab
docs.gitlab.com › gitlab docs › use gitlab › deploy and release your application › gitlab pages › public folder
GitLab Pages public folder | GitLab Docs
You can configure the published folder in .gitlab-ci.yml. You no longer need to change your framework configuration. For more information, see set a custom folder to be deployed with Pages.
🌐
GitLab
about.gitlab.com › blog › engineering › hosting on gitlab.com with gitlab pages
Hosting on GitLab.com with GitLab Pages
April 7, 2016 - On the Pages group you will find a default Hexo site deployed with GitLab Pages, and on this group, another example with a slightly different configuration. Push the content to your remote project and keep an eye on the build! Don't forget: when you are using GitLab Pages with a Static Site Generator, do not upload the directory which your SSG generated locally, otherwise you'll have duplicated contents and you might face build errors.
🌐
GitLab
docs.gitlab.com › gitlab docs › extend › rest api › resources › gitlab pages
Pages API | GitLab Docs
Retrieves Pages settings for a specified project. ... You must have the Maintainer or Owner role for the project. ... curl --request GET \ --header "PRIVATE-TOKEN: <your_access_token>" \ --url "https://gitlab.example.com/api/v4/projects/2/pages"
🌐
GitLab
forum.gitlab.com › how to use gitlab
Gitlab Pages html in project's build folder - How to Use GitLab - GitLab Forum
May 5, 2021 - I just finished a complex static page in Typescript and three.js and was excited to deploy it to Gitlab’s Pages but I haven’t been able to figure out the right path configuration for the CI pipeline and would please like some help. My previous Gitlab Pages easily deployed to the expected namespace URL when I followed the Gitlab’s docs for plain pages but in those cases the public folder was always in the root directory of the project.
🌐
GitLab
resafety.com › gitlab › help › administration › pages › index.md
Index · Pages · Administration · Help · GitLab
Pages are stored by default in /var/opt/gitlab/gitlab-rails/shared/pages. If you wish to store them in another location you must set it up in /etc/gitlab/gitlab.rb:
🌐
GitLab
gitlab.com › gitlab.org › gitlab-pages
GitLab.org / gitlab-pages · GitLab
GitLab Pages daemon used to serve static websites for GitLab users
🌐
Server Fault
serverfault.com › questions › 1063097 › separate-server-for-gitlab-pages
debian buster - Separate server for gitlab-pages - Server Fault
May 10, 2021 - The solution was to simply mount the /mnt/pages directory in the Docker container to /mnt/pages. In gitlab.rb, gitlab_rails['pages_local_store_path'] and gitlab_rails['pages_path'] must then be set to /mnt/pages as well, of course.
🌐
GitLab
gitlab.com › gitlab pages examples
GitLab Pages examples · GitLab
Example websites hosted by GitLab Pages. Learn how to contribute a new Pages site.
🌐
Nira
nira.com › home › the ultimate manual to gitlab pages
The Ultimate Manual To GitLab Pages - Nira
May 3, 2022 - To use GitLab Pages, you have to ... GitLab Pages will always deploy your website from a specific folder called public in your repository....
🌐
GitLab
rcg.bsd.uchicago.edu › gitlab › help › user › project › pages › introduction.md
Introduction · Pages · Project · User · Help · GitLab
Learn how to get started with Pages. Learn how to enable GitLab Pages across your GitLab instance on the administrator documentation.
🌐
GitLab
docs.gitlab.com › gitlab docs › use gitlab › deploy and release your application › gitlab pages › tutorial: create website from scratch
Tutorial: Create a GitLab Pages website from scratch | GitLab Docs
Now that Jekyll has output the files to the public directory, the runner needs to know where to get them. In GitLab 17.10 and later, for Pages jobs only, the public directory is appended automatically to artifacts:paths when the pages.publish path is not explicitly specified: