Access mail app from subdomain

Dear Support Team
I need to access mail app of the Nextcloud with mail.domain.com, so I check all the possibility and don’t like to users find out that this is the Nextcloud url to access apps, so I need to make it possible via mail.domain.com and hidden all nextcloud url links, is it possible to help me.
With Best Of Bests.

That should be possible by creating a virtual host with the subdomain
mail.domain.com
and have it rewritten to
https://cloud.domain.com/index.php/apps/mail
A apache rewrite rule should do this, but I did not test it.