I use several services that allow for host mapping to their servers. An example is ZenDesk, which the default address would be company.zendesk.com but you could for example use helpdesk.company.com (assuming you own the address).
I'm trying to figure out how they do this in an automated manner. I know that I can manually duplicate the
000-default.conf file and update the domain name references, but surely there's a way companies like ZenDesk do this without having to manually update these files for each setup.
How would I do this?