@Marisol Cristina Díaz González To publish your on-premises application using Azure Application Proxy without using a prefix like www, you can follow these steps:
In Azure Active Directory, select Enterprise applications in the left navigation. Select New application. In the On-premises applications section, select Add an on-premises application.
On the Basics tab, enter a Name for your application.
In the Internal URL field, enter the internal URL for your application, for example, https<a href="#doc-pos=2" data-tag-index="1"></a></span>://appserver.mydomain.com
.
In the External URL field, enter the root domain you want to use, for example, https<a href="#doc-pos=2" data-tag-index="1"></a></span>://mydomain.com
.
In the Preauthentication section, select Passthrough.
In the Application Proxy section, select Add a new application.
In the Add Application dialog box, enter a Name for your application.
In the External URL field, enter the root domain you want to use, for example, https<a href="#doc-pos=2" data-tag-index="1"></a></span>://mydomain.com
.
In the Backend URL field, enter the internal URL for your application, for example, https<a href="#doc-pos=2" data-tag-index="1"></a></span>://appserver.mydomain.com
.
In the Preauthentication section, select Passthrough.
Select Add to create the application.
Once the application is created, select it from the list of applications in Azure Active Directory.
In the Application Proxy section, select Publishing.
In the External URL field, enter the root domain you want to use, for example, https<a href="#doc-pos=2" data-tag-index="1"></a></span>://mydomain.com
.
In the Backend URL field, enter the internal URL for your application, for example, https<a href="#doc-pos=2" data-tag-index="1"></a></span>://appserver.mydomain.com
.
In the Preauthentication section, select Passthrough.
Select Save to publish the application.
Please note that you will need to configure your DNS records to point to the Azure Application Proxy service for your custom domain.