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
cf32e262
Commit
cf32e262
authored
Jan 29, 2019
by
Marcia Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify DNS record for Pages
parent
fda30abd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
doc/user/project/pages/getting_started_part_three.md
doc/user/project/pages/getting_started_part_three.md
+12
-7
No files found.
doc/user/project/pages/getting_started_part_three.md
View file @
cf32e262
...
@@ -79,11 +79,14 @@ running on your instance).
...
@@ -79,11 +79,14 @@ running on your instance).
![
DNS A record pointing to GitLab.com Pages server
](
img/dns_add_new_a_record_example_updated_2018.png
)
![
DNS A record pointing to GitLab.com Pages server
](
img/dns_add_new_a_record_example_updated_2018.png
)
NOTE:
**Note:**
CAUTION:
**Caution:**
Note that if you use your root domain for your GitLab Pages website
**only**
, and if
Note that if you use your root domain for your GitLab Pages website
your domain registrar supports this feature, you can add a DNS apex
`CNAME`
**only**
, and if your domain registrar supports this feature, you can
record instead of an
`A`
record. The main advantage of doing so is that when GitLab Pages
add a DNS apex
`CNAME`
record instead of an
`A`
record. The main
IP on GitLab.com changes for whatever reason, you don't need to update your
`A`
record.
advantage of doing so is that when GitLab Pages IP on GitLab.com
changes for whatever reason, you don't need to update your
`A`
record.
There may be a few exceptions, but
**this method is not recommended**
as it most likely won't work if you set an
`MX`
record for your root domain.
#### DNS CNAME record
#### DNS CNAME record
...
@@ -114,14 +117,16 @@ co-exist, so you need to place the TXT record in a special subdomain of its own.
...
@@ -114,14 +117,16 @@ co-exist, so you need to place the TXT record in a special subdomain of its own.
#### TL;DR
#### TL;DR
If the domain has multiple uses (e.g., you host email on it as well):
For root domains (
`domain.com`
), set a DNS
`A`
record and verify your
domain's ownership with a TXT record:
| From | DNS Record | To |
| From | DNS Record | To |
| ---- | ---------- | -- |
| ---- | ---------- | -- |
| domain.com | A | 35.185.44.232 |
| domain.com | A | 35.185.44.232 |
| domain.com | TXT | gitlab-pages-verification-code=00112233445566778899aabbccddeeff |
| domain.com | TXT | gitlab-pages-verification-code=00112233445566778899aabbccddeeff |
If the domain is dedicated to GitLab Pages use and no other services run on it:
For subdomains (
`subdomain.domain.com`
), set a DNS
`CNAME`
record and
verify your domain's ownership with a TXT record:
| From | DNS Record | To |
| 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