Can I customize the home page URL address of MATLAB Web App Server?

The default URL for the webapps home page is of the form http://<hostname>:<port>/webapps/home/. For my server, this is currently: 
http://my-host456.mathworks.com:9988/webapps/home/
I would like to use a custom URL for my web apps instead, such as: 
http://mywebapps.mathworks.com/webapps/home
Can I customize the URL for my MATLAB Web App Server?

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 20 Nov 2025
Modifié(e) : MathWorks Support Team le 20 Nov 2025
You can customize most parts of the server URL. Specifically, for the base URL http://hostname:port/webapps/home, you can make the following customizations --
  • http: Your server will use HTTP vs. HTTPS depending on whether or not you have SSL enabled.
  • hostname: This portion can be fully customized, but this must be done outside of the Web App Server product.
    • You will need to work with your network administrator to edit DNS records for your desired domain, or configure an additional layer (such as a reverse proxy or load balancer) to otherwise customize the URL that the end user sees. 
    • If you are using SSL, the SSL certificate's common name must reflect the URL used by the end user. For example, if your users will be accessing the webapps homepage at https://mywebapps.mydomain.com, you may use a certificate for *.mydomain.com.  
    • You can have multiple URLs pointing to the same server. If you are using SSL with this configuration, use SANs in your certificate to account for all common names needed.
  • port: You can customize the port using webapps-config set port <number> for the product version of Web App Server, or using the management app for the development version.
    • If you do not want the port number shown in the URL, use the default port for the protocol used by your server -- 80 for HTTP, 443 for HTTPS.
    • If you run into issues setting the port in Linux, refer to this MATLAB Answer.
  • /webapps/home/: This part cannot currently be customized. However, if you visit the base URL (http://<hostname>:<port>), you will be redirected to this page by default for versions R2025b and earlier.
For additional customizations, see Custom URL Paths for Web Apps.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Web App Server dans Centre d'aide et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by