How enable Gitlab Pages on Ubuntu?

Hey everyone,
I installed Gitlab CE on my Server. I used following steps to install this: Download and install GitLab | GitLab.

Stats:

  • fresh installed Ubuntu 20.04 (Hetzner CPX31)
  • has two IP addresses
  • first IP-adress has an A record to gitlab..
  • second IP-adress has an wildcard A record to *..
    Bildschirmfoto 2021-11-22 um 19.38.48

Now I try to enable the Gitlab Pages feature on my server.
I used following instruction: https://docs.gitlab.com/ee/administration/pages/
The Pages should run on the same server and serve static files (html).
In gitlab.rb config, I set up following lines

################################################################################
## GitLab Pages
##! Docs: https://docs.gitlab.com/ee/pages/administration.html
################################################################################

##! Define to enable GitLab Pages
# 
pages_external_url "<domain2>.<tdl>"
gitlab_pages['enable'] = true

I have following problems:

in my repo, I have a directory “public” with a html file (index.html)

Why Gitlab Pages does not work in my gitlab ?

  • I have no shared runners that can runs the deployment job. Should install gitlab runners on same server?
  • no need to install on same server.
  • Why Gitlab Pages does not work in my gitlab ?
  • the question is too broad so not sure.