Best setup for 2 servers and few subdomains?

Hi, I have 1 website on 2 servers and 4 sub domains:

Server 1: and (serving pages)
Server 2: and (for images and other static files)

Both ubuntu 18.04 running nginx and postfix, server 1 can also receive mails

Which is the best setup, easiest to maintain? Do I need one certificate for each server?

(Sorry, it’s my first time configuring https)

1 Like

Yes. No need for anything more complex.


Note that if you use Certbot on the first server, you can use the same certificate for both e-mail and web stuff, but you might need to manually configure the Postfix instance to use the certificate.


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