This article has not yet been verified against Umbraco 8.
The concepts and code examples might not work if you are running Umbraco 8.0 or a later version. If you are using Umbraco 7, this article is perfect for you!
You are more than welcome to report any issues found on the Documentation Issue Tracker.
When you create an Umbraco Cloud project we create the project URLs based on the name you give your project.
Let's say you have a project named
Snoopy. These will be the default hostnames:
- Umbraco Cloud Portal: www.s1.umbraco.io/project/snoopy
- Live site: snoopy.s1.umbraco.io
- Development environment: dev-snoopy.s1.umbraco.io
- Staging environment: stage-snoopy.s1.umbraco.io
To access the backoffice, simply add
/umbraco to the end of the Live, Development or Staging hostname.
Under Settings in the Umbraco Cloud Portal, you'll find Hostnames. This is where you go when you want to bind hostnames to your Cloud environments.
You can bind any hostname to your project environments. Keeping in mind, of course, that the hostname will need to have a DNS entry so that it resolves to the Umbraco Cloud service.
You can bind a total of 15 hostnames to each Umbraco Cloud environments.
Once you add a hostname to one of your environments make sure to update the hostname DNS entry to resolve to the umbraco.io service. We recommend setting an ALIAS record for your root hostname (e.g. mysite.s1.umbraco.io), rather than an A record for the umbraco.io service IP address - 126.96.36.199. Check with your DNS host or hostname registrar for details on how to configure this for your hostnames.
You will also have to specify the hostname for each root node if you are using a multisite setup.
- Go to the Umbraco Backoffice
- Right-click the root content node
- Choose Culture and Hostnames
- Add your hostname
- Hit Save
Once you've assigned a hostname to your Umbraco Cloud environment, you may want to hide the default umbraco.io URL (e.g. snoopy.s1.umbraco.io). We've created a rewrite rule for this purpose - find it in the Rewrites on Cloud article.
All hostnames added to an Umbraco Cloud project will automatically be protected by Umbraco Latch: A TLS certificate will be assigned to your hostnames.
You can manually add your own certificate to your Umbraco Cloud project and bind it to one of the hostnames you've added.
Learn more about best practices for working with rewrite rules on Umbraco Cloud projects.