diff --git a/doc/user/project/pages/getting_started_part_three.md b/doc/user/project/pages/getting_started_part_three.md index 53fd1786cfa0511bbf4e1d25ae8011bed47750f6..9e8224302ca68b22c9d5619cff326491260f8f71 100644 --- a/doc/user/project/pages/getting_started_part_three.md +++ b/doc/user/project/pages/getting_started_part_three.md @@ -52,6 +52,16 @@ for the most popular hosting services: If your hosting service is not listed above, you can just try to search the web for "how to add dns record on ". +#### Adding new domains + +First you'll have to go to your **Project**'s **Settings** > **Pages** > **New Domain** +to add the domains you want associated with this Pages project. + +![Pages project - adding new domains](img/add_certificate_to_pages.png) + +You can just fill in the "Domain" part for now and leave the Certificate and +Key fields empty, when you don't have any TLS certificates yet. + #### DNS A record In case you want to point a root domain (`example.com`) to your @@ -185,6 +195,10 @@ and paste it in the [same field as your PEM certificate](https://about.gitlab.co just jumping a line between them. - Copy your public key and paste it in the last field +Note that if you previously already had entries for the desired domains, +you need to delete them first before replacing them with new entries +containing the certificate and the key + >**Note:** **Do not** open certificates or encryption keys in regular text editors. Always use code editors (such as