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
4. Create a [DNS record](https://learn.microsoft.com/en-us/azure/dns/dns-operations-recordsets-portal) for the Mendix application.
93
+
5. In the **Name** field, enter the name of our Mendix app, for example, *myapp*.
94
+
6. In the **IP** field, enter the IP address of the internal load balancer.
95
+
7. Create a [virtual network link](https://learn.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links) and link it with your custom virtual network.
96
+
97
+
Users in the other virtual network can now connect to your Mendix app.
98
+
99
+
8. If you want to enable connections from your Mendix app to a virtual back-end machine in the other network, perform the following additional steps:
100
+
101
+
1. In the Azure portal, create another private DNS zone for the virtual machine, with auto-registration enabled.
102
+
2. In the **Environment Details** page of your Mendix environment, go to [Model Options](/developerportal/deploy/environments-details/#model-options).
103
+
3. In the [Constants](/developerportal/deploy/environments-details/#constants) section, find and edit the **RestClient.RestServiceUrl** constant.
104
+
4. In the **New value** field, enter the URL and port of your back-end machine, and then click **Save and Apply**.
105
+
5. In the Azure portal, configure the virtual network link to link the private DNS zone with the virtual network of your managed Mendix application.
106
+
81
107
#### Potential Solution 2: Private Endpoints
82
108
83
109
Another possible solution can be achieved by using [private endpoints](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview). In the following diagram, a private endpoint has been added to each resource group. The private endpoint connects to a private link in the other resource group, which in turn connects to an internal load balancer.
0 commit comments