Skip to content

Commit 4f1a5dc

Browse files
authored
Change mentions of "CNAME" -> custom domain (#4627)
* Change mentions of "CNAME" -> custom domain Also some related cleanup of copy around the CNAME -> custom domain changes. * Fix typo and do Nginx -> nginx
1 parent 4450ec6 commit 4f1a5dc

File tree

5 files changed

+39
-38
lines changed

5 files changed

+39
-38
lines changed

docs/alternate_domains.rst

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@ Every project has a subdomain that is available to serve its documentation. If y
1111
.. note:: If you have an old project that has an underscore (_) in the name, it will use a subdomain with a hyphen (-).
1212
`RFC 1035 <http://tools.ietf.org/html/rfc1035>`_ has more information on valid subdomains.
1313

14-
CNAME Support
15-
-------------
14+
Custom Domain Support
15+
---------------------
1616

17-
If you have your own domain, you can still host with us.
18-
This requires two steps:
17+
You can also host your documentation from your own domain by adding a domain to
18+
your project:
1919

20-
* Add a CNAME record in your DNS that point to our servers `readthedocs.io`
21-
* Add a Domain object in the **Project Admin > Domains** page for your project.
20+
* Add a CNAME record in your DNS that points the domain to: ``readthedocs.io``
21+
* Add a project domain in the :guilabel:`Domains` project admin page for your project.
2222

23-
.. note:: The ``Domain`` that should be used is the actual subdomain that you want your docs served on.
24-
Generally it will be `docs.projectname.org`.
23+
.. note::
24+
We don't currently support pointing subdomains or naked domains to a project
25+
using ``A`` records. It's best to point a subdomain, ``docs.example.com``
26+
for example, using a CNAME record.
2527

2628
Using pip as an example, https://pip.pypa.io resolves, but is hosted on our infrastructure.
2729

@@ -32,23 +34,16 @@ As another example, fabric's dig record looks like this::
3234
;; ANSWER SECTION:
3335
docs.fabfile.org. 7200 IN CNAME readthedocs.io.
3436

35-
.. note::
36-
37-
We used to map your projects documentation from the subdomain that you pointed your CNAME to.
38-
This wasn't workable at scale,
39-
and now we require you to set the domain you want to resolve on your project.
40-
41-
42-
CNAME SSL
43-
---------
37+
Custom Domain SSL
38+
-----------------
4439

4540
By default, when you setup a custom domain to host documentation at Read the Docs,
4641
we will attempt to provision a domain validated SSL certificate for the domain.
4742
This service is generously provided by Cloudflare.
4843

4944
After configuring your custom domain on Read the Docs,
50-
you can see the status of the certificate on the domain edit screen
51-
(**Project Admin > Domains > Edit Domain**).
45+
you can see the status of the certificate on the domain page in your project
46+
admin dashboard (:guilabel:`Domains` > :guilabel:`Edit Domain`).
5247

5348
If your domain has configured CAA records, please do not forget to include
5449
Cloudflare CAA entries, see their `Certification Authority Authorization (CAA)
@@ -60,9 +55,11 @@ FAQ <https://support.cloudflare.com/hc/en-us/articles/115000310832-Certification
6055
or another variation. While these continue to resolve,
6156
they do not yet allow us to acquire SSL certificates for those domains.
6257
Point the CNAME to ``readthedocs.io`` and re-request a certificate
63-
by saving the domain (**Project Admin > Domains > Edit Domain**).
58+
by saving the domain in the project admin (:guilabel:`Domains` >
59+
:guilabel:`Edit Domain`).
6460

65-
If you change the CNAME, the SSL certificate issuance can take about one hour.
61+
If you change the CNAME record, the SSL certificate issuance can take about
62+
one hour.
6663

6764
.. important::
6865

docs/faq.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,24 +112,24 @@ Deleting a stale or broken build environment
112112

113113
See :doc:`guides/wipe-environment`.
114114

115-
How do I host multiple projects on one CNAME?
116-
---------------------------------------------
115+
How do I host multiple projects on one custom domain?
116+
-----------------------------------------------------
117117

118-
We support the concept of Subprojects.
119-
If you add a subproject to a project,
120-
that documentation will also be served under the parent project's subdomain.
118+
We support the concept of subprojects, which allows multiple projects to share a
119+
single domain. If you add a subproject to a project, that documentation will
120+
be served under the parent project's subdomain or custom domain.
121121

122122
For example,
123123
Kombu is a subproject of Celery,
124124
so you can access it on the `celery.readthedocs.io` domain:
125125

126126
http://celery.readthedocs.io/projects/kombu/en/latest/
127127

128-
This also works the same for CNAMEs:
128+
This also works the same for custom domains:
129129

130130
http://docs.celeryproject.org/projects/kombu/en/latest/
131131

132-
You can add subprojects in the Admin section for your project.
132+
You can add subprojects in the project admin dashboard.
133133

134134
Where do I need to put my docs for RTD to find it?
135135
--------------------------------------------------

docs/features.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ We provide full-text search across all of the pages of documentation hosted on o
6565
Alternate Domains
6666
-----------------
6767

68-
We provide support for CNAMEs, subdomains, and a shorturl for your project as well. This is outlined in the :doc:`alternate_domains` section.
68+
We provide support for custom domains, subdomains, and a shorturl for your
69+
project as well. This is outlined in the :doc:`alternate_domains` section.

docs/localization.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ It also gets included in the Read the Docs flyout:
4848

4949
.. image:: /img/translation_bar.png
5050

51-
.. note:: The default language of any CNAME will be the language of the project the Domain object was set on. See :doc:`alternate_domains` for more information.
51+
.. note::
52+
The default language of a custom domain is determined by the language of the
53+
parent project that the domain was configured on. See
54+
:doc:`alternate_domains` for more information.
5255

5356
.. note:: You can include multiple translations in the same repository,
5457
with same ``conf.py`` and ``.rst`` files,

docs/symlinks.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ Nginx
1212

1313
We handle a couple of different types of requests in nginx:
1414

15-
* Requests to a readthedocs.org subdomain
16-
* Requests to a CNAME
15+
* Requests to a ``readthedocs.io`` subdomain
16+
* Requests to a custom domain
1717

1818
Subdomains
1919
----------
2020

21-
For subdomains this is a simple lookup.
22-
This doesn't require symlinks,
23-
but it shows the basic logic that we need to replicate.
21+
For subdomains, this is a simple lookup of the project slug, using the subdomain
22+
portion of the request's hostname. This doesn't require symlinks, but it shows
23+
the basic logic that we need to replicate.
2424

2525
When a user navigates to ``http://pip.readthedocs.org/en/latest/``,
2626
we know that they want the pip documentation.
@@ -46,10 +46,10 @@ So we simply serve them the documentation:
4646
This will cause things to hit the Python backend,
4747
so that proper action can be taken.
4848

49-
CNAMEs
50-
------
49+
Custom domains
50+
--------------
5151

52-
CNAMEs add a bit of difficulty,
52+
Custom domains add a bit of difficulty,
5353
because at the nginx layer we don't know what documentation to serve.
5454
When someone requests ``http://docs.fabfile.org/en/latest/``,
5555
we can't look at the URL to know to serve the ``fabric`` docs.

0 commit comments

Comments
 (0)