This is something related to web logic, you need to use nginx to rewrite a new url for your application.
For example:
location /newpath/ {
alias /path/to/your/static/files/;
# or proxy_pass http://your_mendix_app_backend;
# and rewrite the URL if necessary
}
For mendix cloud, you need to use custom domains,
https://docs.mendix.com/developerportal/deploy/custom-domains/#Configuring
Hope that will help.