You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/deployment/mendix-cloud-deploy/custom-domains.md
+50-46Lines changed: 50 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ aliases:
10
10
- /howtogeneral/mendixcloud/custom-domains
11
11
#To update these screenshots, you can log in with credentials detailed in How to Update Screenshots Using Team Apps.
12
12
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
13
-
#Linked from Mendix Portal > Environments > Custom Domains
@@ -20,10 +20,6 @@ Mendix Cloud supports adding custom domains such as `https://myapp.mycompany.com
20
20
{{% alert color="info" %}}This page describes certificates for incoming connections. For information on setting up certificates for outgoing connections, see [Certificates](/developerportal/deploy/certificates/).
21
21
{{% /alert %}}
22
22
23
-
{{% alert color="info" %}}
24
-
Changes that affect DNS routing may not display immediately. This is because of DNS caching, where changes are not visible until the cache is updated.
25
-
{{% /alert %}}
26
-
27
23
This how-to explains how to do the following:
28
24
29
25
* Generate a certificate request for your custom domain
@@ -52,7 +48,11 @@ Custom domains can be added only to licensed apps. You cannot add custom domains
52
48
53
49
### Create and Configure a CNAME Record{#DNS}
54
50
55
-
Before configuring your custom domain in Mendix Cloud, you need to configure a DNS record for your custom domain with your domain registrar or DNS provider.
51
+
{{% alert color="info" %}}
52
+
Changes that affect DNS routing may not display immediately. This is because of DNS caching, where changes are not visible until the cache is updated.
53
+
{{% /alert %}}
54
+
55
+
Before configuring your custom domain in Mendix Cloud, you need to set up a DNS record for your custom domain with your domain registrar or DNS provider.
56
56
57
57
Create a CNAME (Canonical Name) record and point it to `[YOUR-CUSTOM-DOMAIN].cname.mendix.net.`. For example, if your custom domain is `myapp.mycompany.com`, create a CNAME record pointing to `myapp.mycompany.com.cname.mendix.net.` so that Mendix can direct your custom domain to your Mendix app.
58
58
@@ -73,15 +73,16 @@ You can choose which certificate to use when you configure a custom domain for a
73
73
To manage custom domains, follow these steps:
74
74
75
75
1. From [Apps](https://sprintr.home.mendix.com), go to the **Environments** page of your app.
76
-
1. Switch to the **Custom Domains** tab.
76
+
2. Click **Cloud Settings** ({{< icon name="settings-slider-1" >}}) from any of the [available tabs](/developerportal/deploy/environments/#available-tabs) to open the **Manage Cloud Settings** page.
If you already have a signed SSL/TLS certificate, skip to [Uploading Your Own Custom Domain Certificate](#Uploading), below.
79
+
If you already have a signed SSL/TLS certificate, skip to [Uploading Your Own Custom Domain Certificate](#Uploading) below.
81
80
82
81
## Obtaining a New Signed Certificate
83
82
84
-
If you do not have an SSL/TLS certificate, you can order one from a certificate authority (such as GeoTrust, Thawte, Verisign, RapidSSL, GoDaddy, or Comodo). To get a signed SSL/TLS certificate from a certificate authority, you need to provide a certificate signing request (CSR). A private SSL/TLS key and a CSR tied to that key can be created in Mendix Cloud for you.
83
+
If you do not have an SSL/TLS certificate, you can order one from a certificate authority (such as GeoTrust, Thawte, Verisign, RapidSSL, GoDaddy, or Comodo). To get a signed SSL/TLS certificate from a certificate authority, you need to provide a certificate signing request (CSR).
84
+
85
+
A private SSL/TLS key and a CSR tied to that key can be created in Mendix Cloud for you.
85
86
86
87
### Generating a Certificate Request for your Custom Domain{#Generating}
87
88
@@ -91,45 +92,55 @@ Certificates are applied to a single app. Therefore, Mendix recommends that you
91
92
92
93
To create a CSR and an RSA (Rivest–Shamir–Adleman) encryption key, follow these steps:
93
94
94
-
1. Click **New** in the **Custom Domains** tab.
95
+
1. Click **New Certificate** in the **Custom Domains** tab.
{{% alert color="info" %}}The SSL/TLS private key will be hidden after you upload it. To keep the key secure, it will be stored in Mendix Cloud's secure keystore; it will not be available for download, and it cannot be obtained by Mendix Support.{{% /alert %}}
111
109
110
+
On successful CSR generation, your CSR name appears in the table on the **Custom Domain** tabs. In the **Description** column, the name you provided during creation is followed by **Pending Customer Feedback**. This suffix remains as long as the CSR is open and not yet signed with a certificate.
111
+
112
112
You can now go to your certificate authority to get a signed SSL/TLS certificate.
113
113
114
114
### Uploading a Signed Certificate{#Upload}
115
115
116
116
Once you have a signed SSL/TLS certificate, you can upload it by following these steps:
117
117
118
-
1. In the **Custom Domains** tab, select the custom domain certificate that you want to upload.
118
+
1. Switch to the **Custom Domains** tab.
119
+
120
+
2. Click the **More Options** ({{% icon name="three-dots-menu-horizontal" %}}) icon on the CSR of interest.
4. Paste the signed **TLS Certificate** (in PEM format).
128
+
6. Paste the signed **TLS Certificate** (in PEM format).
127
129
128
-
5. Paste an **Intermediate Certificate Chain**. This is optional, but highly recommended. The intermediate certificate chain is provided by your certificate authority.
130
+
7. Paste an **Intermediate Certificate Chain**. This is optional, but highly recommended. The intermediate certificate chain is provided by your certificate authority.
{{% alert color="warning" %}}The intermediate certificates of the main certificate authorities are included in the built-in CA databases of modern browsers. Therefore, you do not need to include an intermediate certificate to serve your website through SSL/TLS to users of modern browsers. However, you cannot predict how your users will attempt to connect to your website; not including an intermediate certificate may result in connection issues for some users. Tools such as curl do not recognize intermediate certificates automatically. Because of this, intermediate certificates are highly recommended but optional.{{% /alert %}}
134
+
8. Click **Save** to complete the process.
135
+
136
+
{{% alert color="warning" %}}
137
+
The intermediate certificates of the main certificate authorities are included in the built-in CA databases of modern browsers. Therefore, you do not need to include an intermediate certificate to serve your website through SSL/TLS to users of modern browsers.
138
+
139
+
However, you cannot predict how your users will attempt to connect to your website; not including an intermediate certificate may result in connection issues for some users.
140
+
141
+
Tools such as curl do not recognize intermediate certificates automatically. Because of this, intermediate certificates are highly recommended but optional.
142
+
143
+
{{% /alert %}}
133
144
134
145
You can now configure your custom domain. See [Configuring a Custom Domain](#Configuring), below.
135
146
@@ -143,11 +154,9 @@ To upload a custom domain certificate, you need to have the following things pre
143
154
144
155
To upload the custom domain certificate, follow these steps:
145
156
146
-
1. Click **New** in the **Custom Domains** tab.
157
+
1. Click **New Certificate** in the **Custom Domains** tab.
@@ -167,8 +176,6 @@ You can now configure your custom domain. For details, see [Configuring a Custom
167
176
168
177
You can add as many certificates as you need. Each certificate will be listed with the description you gave it. Make sure to give them meaningful names so that you can identify them easily.
169
178
170
-
{{< figure src="/attachments/deployment/mendix-cloud-deploy/custom-domains/certificate-list.png" alt="List of certificates" class="no-border" >}}
171
-
172
179
## Renewing a Custom Domain Certificate
173
180
174
181
Custom domain certificates have an expiry date. There are two methods for renewing a custom domain certificate that is about to expire:
@@ -193,9 +200,12 @@ If you are rotating a certificate, you do not need to remove the current domain
193
200
194
201
### Method 2: Renewing by Updating an Existing Custom Domain Certificate
195
202
196
-
You can also edit an existing custom domain certificate.
203
+
You can do this by editing an existing custom domain certificate. To update an existing custom domain certificate, follow these steps:
197
204
198
-
{{< figure src="/attachments/deployment/mendix-cloud-deploy/custom-domains/certificate-edit.png" alt="Edit a certificate" class="no-border" >}}
205
+
1. Click the **More Options** ({{% icon name="three-dots-menu-horizontal" %}}) icon on the CSR of interest.
206
+
2. Select **Edit**.
207
+
3. Paste the signed **TLS Certificate**.
208
+
4. Paste the **Intermediate Certificate Chain**. This is optional, but most browsers require it. The intermediate certificate chain is provided by your certificate authority.
199
209
200
210
{{% alert color="warning" %}}
201
211
To edit an existing custom domain certificate, you need the following:
@@ -214,23 +224,15 @@ To configure a custom domain for your application environment, follow these step
214
224
215
225
2. Click **Details** ({{% icon name="notes-paper-edit" %}}) on the environment you want to configure.
7. Click **Save** to save your custom domain. It will be configured for your application environment automatically.
234
236
235
237
{{% alert color="info" %}}
236
238
Make sure you have configured a CNAME record for your custom domain with your domain registrar/DNS provider (for details, see [Create and Configure a CNAME Record](#DNS)), above.
@@ -254,11 +256,13 @@ To reach the root certificate, you must link your certificate via the intermedia
254
256
255
257
### How Do You Get my SAML Metadata or CommunityCommons.GetApplicationUrl to Use the Custom URL? {#use-custom-url}
256
258
257
-
For certain use cases, it is important for the Mendix runtime to know the public URL of your applications. This is most commonly needed when your app generates links back to itself. To tell the runtime where it lives, set the `ApplicationRootUrl`[custom runtime setting](/refguide/custom-settings/#general). To set the custom runtime setting, follow the instructions in the [Custom Runtime Settings](/developerportal/deploy/environments-details/#custom-runtime-settings) section of *Environment Details*.
259
+
For certain use cases, it is important for the Mendix runtime to know the public URL of your applications. This is most commonly needed when your app generates links back to itself.
260
+
261
+
To tell the runtime where it lives, set the `ApplicationRootUrl`[custom runtime setting](/refguide/custom-settings/#general). To set the custom runtime setting, follow the instructions in the [Custom Runtime Settings](/developerportal/deploy/environments-details/#custom-runtime-settings) section of *Environment Details*.
258
262
259
263
### Can You Configure Multiple Custom Domains for the Same Application? {#multiple-custom-domains}
260
264
261
-
Yes, you can configure multiple custom domains for the same application. Please note that this can only be done by [uploading multiple own custom domain certificates](#Uploading). You can only [generate one certificate signing request for one custom domain](#Generating) for your application.
265
+
Yes, you can configure multiple custom domains for the same application. You can only do this by [uploading multiple own custom domain certificates](#Uploading). You can only [generate one certificate signing request for one custom domain](#Generating) for your application.
0 commit comments