Multiple Apache Virtual Machines for One Domain

I want to isolate each service to its own Apache virtual machine under a single domain.

Maybe run Citadel on citadel.mydomain.com and maybe Wordpress on wordpress.mydomain.com and maybe Mastodon on mastodon.mydomain.com and maybe Nextcloud on nextcloud.mydomain.com. Each one would be a separate Apache virtual machine.

Is it possible to set this up with a single certificate? Or, how should I do this?

You can either have a single certificate, and use a copy of that on each viirtual server, or you could have separate certificate for each subdomain. The choice is yours.

You will need to verify each domain - which you could probably most easily do via a DNS challenge, alternatively you would have to have a way to add the token to each virtual server ( although this is still possible ).

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.