Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
789fa201
Commit
789fa201
authored
Dec 01, 2021
by
Russell Dickenson
Committed by
Fiona Neill
Dec 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve Pages custom domain docs
parent
8457ee85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
doc/user/project/pages/custom_domains_ssl_tls_certification/index.md
...oject/pages/custom_domains_ssl_tls_certification/index.md
+9
-8
No files found.
doc/user/project/pages/custom_domains_ssl_tls_certification/index.md
View file @
789fa201
...
...
@@ -25,7 +25,8 @@ and steps below.
(
`*.gitlab.io`
, for GitLab.com).
-
A custom domain name
`example.com`
or subdomain
`subdomain.example.com`
.
-
Access to your domain's server control panel to set up DNS records:
-
A DNS A or CNAME record pointing your domain to GitLab Pages server.
-
A DNS record (
`A`
,
`ALIAS`
, or
`CNAME`
) pointing your domain to the GitLab Pages server. If
there are multiple DNS records on that name, you must use an
`ALIAS`
record.
-
A DNS
`TXT`
record to verify your domain's ownership.
-
Set either
`external_http`
or
`external_https`
in
`/etc/gitlab/gitlab.rb`
to the IP and port of
your
[
Pages Daemon
](
../../../../administration/pages/index.md#overview
)
.
...
...
@@ -109,15 +110,15 @@ as it most likely doesn't work if you set an [`MX` record](dns_concepts.md#mx-re
Subdomains (
`subdomain.example.com`
) require:
-
A DNS
[
CNAME
record
](
dns_concepts.md#cname-record
)
pointing your subdomain to the Pages server.
-
A DNS
[
`ALIAS` or `CNAME`
record
](
dns_concepts.md#cname-record
)
pointing your subdomain to the Pages server.
-
A DNS
[
TXT record
](
dns_concepts.md#txt-record
)
to verify your domain's ownership.
| From | DNS Record | To |
|
------------------------------------------------------- | ---------- | ---------------------
|
|
`subdomain.example.com`
|
CNAME
|
`namespace.gitlab.io`
|
|
`_gitlab-pages-verification-code.subdomain.example.com`
|
`TXT`
|
`gitlab-pages-verification-code=00112233445566778899aabbccddeeff`
|
| From | DNS Record
| To |
|
:--------------------------------------------------------|:----------------|:----------------------
|
|
`subdomain.example.com`
|
`ALIAS`
/
`CNAME`
|
`namespace.gitlab.io`
|
|
`_gitlab-pages-verification-code.subdomain.example.com`
|
`TXT`
|
`gitlab-pages-verification-code=00112233445566778899aabbccddeeff`
|
Note that, whether it's a user or a project website, the
`CNAME`
Note that, whether it's a user or a project website, the
DNS record
should point to your Pages domain (
`namespace.gitlab.io`
),
without any
`/project-name`
.
...
...
@@ -131,7 +132,7 @@ domain to the same website, for instance, `example.com` and `www.example.com`.
They require:
-
A DNS A record for the domain.
-
A DNS
CNAME
record for the subdomain.
-
A DNS
`ALIAS`
/
`CNAME`
record for the subdomain.
-
A DNS
`TXT`
record for each.
| From | DNS Record | To |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment