Deployment Location

Last modified: September 20, 2024

Introduction

When you deploy your app outside Mendix Cloud, you can choose the URL that points to your app. However, there are some restrictions on where you should deploy your app.

For apps deployed to Mendix Cloud, you can customize a URL by adding custom domains.

Paths

If you specify an app URL location on a (sub)path, the Mendix runtime needs to know the public URL of your application. This can be done by setting the custom runtime setting ApplicationRootUrl.

Main Domain Name

Do not deploy your app directly at the apex domain (https://domain/).

This conflicts with the https://www.domain/ URL because the main domain is often redirected there if there is no subdomain specified.

Also, you would not be able to have additional custom domains for your app because you cannot create a CNAME record that points to an apex domain.