Install Mailwizz On a Vps


New Member
I have a vps with Centos 7 and I want to install mailwizz on it.
Do I need a software like Cpanel to install it or I can do with nginx.
Is there any tutorial how to install nginx with all components so mailwizz work properly?

Thank you


Active Member

I recommend you install it via Cpanel. Am not sure if the software could be installed via nginx. Maybe twisted would answer this.

Thank You!
Is this a managed VPS? If so, all you most likely have to do is upload mailwizz to a root domain (, a directory ( or a subdomain of your choosing. During the course of the install, the installation will check to ensure all the necessary PHP modules needed for mailwizz to function are available.

If this is unmanaged, there are plenty of tutorials for installation of Nginx & PHP-FPM (required to execute PHP) on Google and Youtube. Or you can just hire someone.

P.S. Be sure to confirm that your VPS is managed or not first. If you attempt one of the tutorials online and you have a control panel already installed, you'll screw up your server and have a mess to clean up.


Staff member
@Dimitris - When i install nginx and mailwizz, i follow this:
@twisted1919 & anyone else. - Be mindful. A lot of these Nginx tutorials have insecure configs and don't contain "try_files $uri =404;" for executing PHP which can possibly leave your server vulnerable to remote exploit. It's why I can't recommend enough to get on certain mailing lists for services running on your servers.

# Pass all .php files onto a php-fpm/php-fcgi server.
location ~ \.php$ {
# Zero-day exploit defense.
# Won't work properly (404 error) if the file is not stored on this server, which is entirely possible with php-fpm/php-fcgi.
# Comment the 'try_files' line out if you set up php-fpm/php-fcgi on another machine. And then cross your fingers that you won't get hacked.
try_files $uri =404;


New Member
@booster I'll give it a try. Do you have try it? It has all php modules for mailwizz?
I meant that to install and configure Nginx+Apache or Nginx+PHP-FPM or etc. without a deep knowledge of system administration, you can install a turnkey solution VestaCP. If you need to install additional modules, most of system modules are in the repository.