Gitlab Pages not working correctly

Hi There!

I am currently setting up gitlab pages for our internal network. Now I have completed my project and the CI pipeline is working. Now I have gone through all the steps in the gitlab.rb configuration via the gitlab docs but still I can’t get gitlab pages to work.

My Gitlab.rb config:

gitlab_pages['enable'] = true
gitlab_pages['external_http'] = ['192.168.x.x:80']
gitlab_pages['external_https'] = ['192.168.x.x:443']
gitlab_pages['cert'] = "/etc/gitlab/ssl/"
gitlab_pages['cert_key'] = "/etc/gitlab/ssl/"
gitlab_pages['status_uri'] = "/@status"
gitlab_pages['max_connections'] = 0
gitlab_pages['log_format'] = "json"
gitlab_pages['log_verbose'] = true
gitlab_pages['redirect_http'] = true
gitlab_pages['dir'] = "/var/opt/gitlab/gitlab-pages"
gitlab_pages['log_directory'] = "/var/log/gitlab/gitlab-pages"
gitlab_pages['gitlab_server'] = '' # Defaults to external_url

My DNS is as follows:

A record for gitlab instance
A records for
Wildcard for *

When I go to the pages page in my project the page URL is
and this is not how it works I believe.

I hope someone can help me tackle this problem!