Skip to content

Commit 3d8516e

Browse files
authored
Merge pull request #7374 from umbraco/pre-validation-tweaks
Hostname pre-validation updates
2 parents eee0408 + 72bca48 commit 3d8516e

File tree

1 file changed

+21
-19
lines changed
  • umbraco-cloud/go-live/manage-hostnames

1 file changed

+21
-19
lines changed

umbraco-cloud/go-live/manage-hostnames/README.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ Let's say you have a project named `Snoopy`. The default hostnames will be:
99
* **Development environment** - `dev-snoopy.euwest01.umbraco.io`
1010
* **Staging environment** - `stage-snoopy.euwest01.umbraco.io`
1111

12-
The hostnames contain the region on which your project is hosted. Currently, there are four options available when choosing a region for your Umbraco project:
12+
The hostnames contain the region on which your project is hosted. The options available when choosing a region for your Umbraco project are:
1313

14-
* West Europe (euwest01),
15-
* East US (useast01),
16-
* South UK (uksouth01), and
14+
* West Europe (euwest01)
15+
* East US (useast01)
16+
* South UK (uksouth01)
1717
* Australian East (aueast01)
18+
* Canada Central (cacent01)
1819

1920
To access the backoffice, add `/umbraco` at the end of the Live, Development, or Staging URL.
2021

@@ -58,7 +59,7 @@ If you're using the [Former A and AAAA records](./#former-a-and-aaaa-records) co
5859

5960
<summary>Former A and AAAA records</summary>
6061

61-
The following Records will become obsolete in the future. Refrain from using them.
62+
The following Records are now obsolete and remain here for documentation purposes.
6263

6364
* A Records
6465
* `104.19.191.28`
@@ -115,16 +116,16 @@ All hostnames added to an Umbraco Cloud project's environment will get a TLS (HT
115116
You will need to **remove the old DNS entry** before the Cloudflare service generates a new certificate for your Hostname.
116117
{% endhint %}
117118

118-
### Is your Domain hosted on your own Cloudflare account?
119+
### Is your hostname managed/proxied in your own Cloudflare account?
119120

120121
Cloudflare is a popular DNS provider, which offers a variety of different services to improve performance and security. We also use it for DNS and Hostnames on Umbraco Cloud.
121122

122123
When adding a hostname to your project hosted on Umbraco Cloud, using your own Cloudflare account the process is slightly different.
123124

124125
1. Set Proxy Status to **DNS Only** when creating a _CNAME_ or _A-record_ for your hostname in Cloudflare.
125-
2. Change Proxy Status to **Proxied** once your hostname is **Protected** on the Hostname page for your Cloud project. Also, make sure the website is accessible through the hostname.
126+
2. Change Proxy Status to **Proxied** once your hostname is **Protected** on the Hostname page for your Cloud project.
126127

127-
The above is primarily relevant when you need to use specific Cloudflare services like Page Rules, Workers, and so on.
128+
To minimize downtime, you can also use the [hostname pre-validation method](hostname-pre-validation.md).
128129

129130
### Using Certification Authority Authorization (CAA) for your domain?
130131

@@ -152,27 +153,28 @@ The Certificate Authority (CA) used to issue certificates for all Umbraco Cloud
152153

153154
On the Professional and Enterprise plans, you can manually add your certificate to your project and bind it to one of the configured hostnames.
154155

155-
## Using your Web Application Firewall (WAF) on Umbraco Cloud
156+
## Using a custom Web Application Firewall (WAF) or a proxy on Umbraco Cloud
156157

157-
If you need to use WAF in front of your Umbraco Cloud website this section will highlight some of the common configurations needed.
158+
This section covers common configurations for using a custom WAF or proxy with your Umbraco Cloud website.
158159

159160
{% hint style="info" %}
160-
Configuration may vary depending on which WAF you are using, so you should always consult your vendor for best practices and recommendations.
161+
Configuration may vary depending on which WAF you are using, so you should always consult your vendor for best practices and recommendations or reach out to Umbraco Cloud Support.
161162
{% endhint %}
162163

163-
In most cases, you need to ensure that the WAF and Umbraco Cloud are using the same certificate on the specific hostname. Custom certificates are a plan-specific feature on Umbraco Cloud, so make sure that you have access to upload certificates.
164+
### Proxying to the custom hostname
164165

165-
* Make sure the hostname is pointing to Umbraco Cloud (dns.umbraco.io).
166-
* Certificate issued for the actual hostname. A custom certificate is required for a WAF hostname.
167-
* Be on a [plan](https://umbraco.com/products/umbraco-cloud/pricing/) that supports custom certificates.
166+
If your hostname can't point to `dns.umbraco.io`, Umbraco Cloud won't be able to reissue a certificate for your hostname during future renewals (3 months). You can publish a Domain Control Validation (DCV) record or use a custom certificate.
168167

169-
When configuring the hostname and certificate on Umbraco Cloud it will be necessary to validate the hostname using a TXT record. This is needed because in most cases the WAF will hide that the website is running on Umbraco Cloud. This means that the usual domain ownership verification cannot be performed. This same approach can also be used to configure a hostname before updating the DNS for the hostname.
168+
The DCV record is a CNAME record with key `_acme-challenge.<hostname>` pointing to `<hostname>.0df3da1ce1ef695a.dcv.cloudflare.com`.
169+
For example, `www.example.com` - CNAME `_acme-challenge.www.example.com` points to `www.example.com.0df3da1ce1ef695a.dcv.cloudflare.com`
170170

171-
Adding a hostname on a Cloud project is possible before a DNS change. It can take up to approx. 14 days before it's removed. That means that you have 14 days to add a TXT record in your DNS settings.
171+
The DCV record will ensure that Umbraco Cloud can always issue/renew the certificate for the custom hostname.
172172

173-
Reach out to support and they will assist you with the details needed to be in the TXT record. We will first be able to see what you need to add to the TXT record when you have added the hostname.
173+
When configuring the hostname on Umbraco Cloud use the [hostname pre-validation method](hostname-pre-validation.md).
174174

175-
When that is added it should work immediately.
175+
### Proxying to default Umbraco Cloud hostnames `*.{region}.umbraco.io`
176+
177+
You can proxy freely to the default Umbraco Cloud hostname. The application runtime will see `*.{region}.umbraco.io` as the application URL. Multisite set-ups aren't supported when proxying to default hostnames.
176178

177179
## [Rewrites on Umbraco Cloud](rewrites-on-cloud.md)
178180

0 commit comments

Comments
 (0)