2

I want to add custom domains for GitLab Pages. I don't see any existing configuration from Gitlab admin settings panel.

I am seeing this message: "Support for domains and certificates is disabled. Ask your system's administrator to enable it."

Have tried going through the documentation and googled some other links:

https://www.gitlab.com/help/user/project/pages/getting_started_part_three.md#dns-txt-record

All of them majorly focus on certificates edition and Domain configuration parts but none of them mention how to enable the "Add new Domain" button on GitLab Pages.

I have a single GitLab server and want my pages with custom domains to be served from the same server.

Ravi Kiran
  • 47
  • 5
  • Did you follow the basic configuration guide and added the needed info in gitlab.rb ? https://docs.gitlab.com/ce/administration/pages/index.html – Zeitounator May 02 '19 at 15:02
  • @Zeitounator, Thank your for your response. I have added the related configuration as suggested in Gitlab documentation. I have added below fields in gitlab.rb and the Pages work well. gitlab_pages['enable'] = true pages_external_url 'http://pages-internal.mygitlab.com' The accessible URL for the deployed page is: http://.pages-internal.mygitlab.com/ Now I want to access it with a shorter domain name like: http://pro.mygitlab.com/ How can I achieve this? – Ravi Kiran May 02 '19 at 15:05

0 Answers0