-
Notifications
You must be signed in to change notification settings - Fork 813
Cloud/hostname pre validation #7310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sofietoft
merged 14 commits into
umbraco:main
from
HalldorLyngmo:cloud/hostname-pre-validation
Aug 19, 2025
Merged
Changes from 4 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d938795
Add file and first draft of pre-validation page
HalldorLyngmo 31d9ea3
Update according to style guide
HalldorLyngmo e5253c0
add images and small section for custom certificates
HalldorLyngmo 49ae345
Some grammar, some structure
sofietoft 5f83cf1
More small fixes
sofietoft 503e7e0
Update the menu
HalldorLyngmo 595ebcf
Update umbraco-cloud/go-live/manage-hostnames/hostname-pre-validation.md
HalldorLyngmo 1dc7d20
Merge branch 'umbraco:main' into cloud/hostname-pre-validation
HalldorLyngmo 26af578
update images
HalldorLyngmo b48f56e
Apply suggestions from Mikulas
HalldorLyngmo d78f00c
Fix WAF acronym issue
HalldorLyngmo df709f7
Replace the record type bullet points with a table
HalldorLyngmo 5362ab3
Small updates
sofietoft 8462cc7
Remove line that should not be there
HalldorLyngmo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
88 changes: 88 additions & 0 deletions
88
umbraco-cloud/go-live/manage-hostnames/hostname-pre-validation.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| # Hostname Pre-Validation | ||
|
|
||
| In typical scenarios, the recommended approach for hostname validation in Umbraco Cloud is to point your Domain Name System (DNS) directly to Umbraco Cloud. The platform handles the process from start to finish. However, this may not be suitable for all environments, such as when working with production domains where zero downtime is critical. | ||
|
|
||
| In these cases, Umbraco Cloud supports using a pre-validation method. You can complete hostname validation and Transport Layer Security (TLS) certificate issuance before switching over your live DNS. This approach ensures a seamless transition with no interruptions in service. | ||
HalldorLyngmo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## When to Use Hostname Pre-Validation | ||
|
|
||
| Use pre-validation when: | ||
|
|
||
| - You're dealing with live or production domains that require 100% uptime. | ||
HalldorLyngmo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - You want to avoid the brief downtime that may occur while TLS certificates are being validated after pointing DNS to Umbraco Cloud. | ||
|
|
||
| ## How to Use Hostname Pre-Validation | ||
|
|
||
| The following steps outline how to use hostname pre-validation. | ||
|
|
||
| ### 1. Enable Pre-Validation for the Hostname | ||
|
|
||
| After adding your custom hostname in the Umbraco Cloud Portal: | ||
|
|
||
| 1. Navigate to **Hostname Settings**. | ||
| 2. Toggle the Pre-Validation option to enable it. | ||
|
|
||
| Umbraco Cloud will provide two DNS records: | ||
|
|
||
| - A **TXT** record used to verify domain ownership. | ||
| - A **CNAME** record that is required for the TLS certificate issuance. | ||
|
|
||
| <figure><img src="images/hostname-settings-modal.png" alt="This is an image of the Hostname settings modal"></figure> | ||
|
|
||
| ### 2. Add DNS Records at Your Domain Registrar | ||
|
|
||
| 1. Log in to your DNS provider or domain registrar. | ||
| 2. Add the records provided: | ||
|
|
||
| - **TXT Record:** | ||
|
|
||
| Name: _cf-custom-hostname.\<hostname\> | ||
|
|
||
| Value: Provided by Umbraco Cloud. | ||
|
|
||
| - **CNAME Record:** | ||
|
|
||
| Name: _acme-challenge.\<hostname\> | ||
|
|
||
| Value: Points to a domain under Umbraco's control (e.g., \<hostname\>.53231a669c5282f8.dcv.cloudflare.com). | ||
HalldorLyngmo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| {% hint style="info" %} | ||
| DNS propagation times can vary. Changes may take a few minutes to several hours to become active globally. Tools like https://www.nslookup.io/ can help verify that your records are live. | ||
|
Check warning on line 50 in umbraco-cloud/go-live/manage-hostnames/hostname-pre-validation.md
|
||
| {% endhint %} | ||
|
|
||
|
|
||
| ### 3. Check Validation Status | ||
|
|
||
| Return to the Hostname page in Umbraco Cloud. You'll see a Hostname Information Box showing the current status of your validation. | ||
|
|
||
| The status will change to Active when everything is set up correctly. The hostname is validated, and the TLS certificate issued. | ||
|
|
||
| <figure><img src="images/pre-validation-status-modal.png" alt="This is an image of the Pre-Validation status modal"></figure> | ||
|
|
||
| pre-validation-status-modal | ||
HalldorLyngmo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ### 4. Point Your DNS to Umbraco Cloud | ||
HalldorLyngmo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Once the certificate is issued, update your domain's A record or CNAME to point to the Umbraco Cloud DNS (add link). | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
HalldorLyngmo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
HalldorLyngmo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Your site will be accessible securely via HTTPS without any downtime because the certificate is already in place. | ||
HalldorLyngmo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ### 5. Disable Pre-Validation and Clean Up DNS Records | ||
|
|
||
| After the hostname is active and secure: | ||
|
|
||
| 1. Go back to Hostname Settings and disable the pre-validation method. | ||
| 2. Remove the TXT and CNAME records you added for pre-validation. | ||
|
|
||
| Umbraco Cloud will automatically handle future certificate renewals without the need for manual DNS management. | ||
HalldorLyngmo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ## Custom Certificate | ||
|
|
||
| If you plan to use a [custom certificate](security-certificates), the Hostname Pre-Validation method can be used to prove ownership of the hostname before binding the custom certificate. | ||
|
Check warning on line 81 in umbraco-cloud/go-live/manage-hostnames/hostname-pre-validation.md
|
||
|
|
||
| You can do this by following these steps: | ||
|
|
||
| 1. Enable Pre-Validation for the Hostname. | ||
| 2. Add the TXT record provided to your Domain Name System (DNS) settings. The record will prove ownership of the domain. | ||
| 3. Upload a custom certificate and set a binding to the Hostname. | ||
| 4. Wait a couple of minutes, then disable Pre-Validation for the Hostname. The status will now show "Manual" for the Hostname. | ||
Binary file added
BIN
+74.1 KB
umbraco-cloud/go-live/manage-hostnames/images/hostname-settings-modal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.1 KB
umbraco-cloud/go-live/manage-hostnames/images/pre-validation-status-modal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.