Other Domains for outgoing links and downloads

I really would love to see the possibility of a multi-subdomain setup.
Explanation:

How it is:
https://subdomain.domain.tld
https://subdomain.domain.tld/guest/view/quote/Mq8UCLnHUlxpaR6YVuaDz4gdwlrj
https://subdomain.domain.tld/quotes/generate_pdf/5345
https://subdomain.domain.tld/invoices/generate_pdf/5345

I would like it to be like this:
https://subdomain.domain.tld
https://quotes.domain.tld/Mq8UCLnHUlxpaR6YVuaDz4gdwlrj
https://quotes.domain.tld/pdf/5345
https://invoice.domain.tld/pdf/5345

Or:
https://subdomain.domain.tld
https://quotes.domain.tld/Mq8UCLnHUlxpaR6YVuaDz4gdwlrj
https://pdf.domain.tld/quotes/5345
https://pdf.domain.tld/invoice/5345

So I would have to map “https://quotes.domain.tld” and “https://invoice.domain.tld” to https://subdomain.domain.tld and the programm would do the rest.
With this method also the Login of Invoiceplane will remain unknown.