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
5380f934
Commit
5380f934
authored
Jan 06, 2021
by
Balasankar "Balu" C
Committed by
Nick Gaskill
Jan 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that Pages domain should be pointing at Pages's IP
parent
28a2f781
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
doc/administration/pages/index.md
doc/administration/pages/index.md
+21
-0
No files found.
doc/administration/pages/index.md
View file @
5380f934
...
...
@@ -101,6 +101,27 @@ Where `example.io` is the domain GitLab Pages is served from,
`192.0.2.1`
is the IPv4 address of your GitLab instance, and
`2001:db8::1`
is the
IPv6 address. If you don't have IPv6, you can omit the AAAA record.
#### Custom domains
If support for custom domains is needed, the Pages root domain and its subdomains should point to
the secondary IP (which is dedicated for the Pages daemon).
`<namespace>.<pages root domain>`
should
point at Pages directly. Without this, users aren't able to use
`CNAME`
records to point their
custom domains to their GitLab Pages.
For example, an entry could look like this:
```
plaintext
example.com 1800 IN A 192.0.2.1
*.example.io. 1800 IN A 192.0.2.2
```
This example contains the following:
-
`example.com`
: The GitLab domain.
-
`example.io`
: The domain GitLab Pages is served from.
-
`192.0.2.1`
: The primary IP of your GitLab instance.
-
`192.0.2.2`
: The secondary IP, which is dedicated to GitLab Pages.
NOTE:
You should not use the GitLab domain to serve user pages. For more information see the
[
security section
](
#security
)
.
...
...
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