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 and maybe Wordpress on and maybe Mastodon on and maybe Nextcloud on 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.