From 0b8b569c98a2271e86652a0caf1245d293382e28 Mon Sep 17 00:00:00 2001 From: JI Xiang Date: Sat, 22 Jul 2017 15:56:44 +0000 Subject: [PATCH] Update getting_started_part_three.md You have to first add new (HTTP) domains before you can start the TLS verification process..... Otherwise the CA won't be able to find the site at the designated HTTP address! This tutorial seems to have missed that, which caused me a lot of headache --- .../project/pages/getting_started_part_three.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/user/project/pages/getting_started_part_three.md b/doc/user/project/pages/getting_started_part_three.md index 53fd1786cfa051..9e8224302ca68b 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 -- GitLab