Installation (Business License)
This guide walks you through installing the WhautoMail Business License on your own infrastructure so you can run email marketing and automation in a fully self-hosted environment.
1. Move the Installation Folder to Your Server
- After purchasing your license, you'll receive an installation package via email.
- Use an SFTP client such as FileZilla to upload the entire installation folder to your server.
2. Run the Installation Command
From your server, change into the installation directory and run the following command, substituting each placeholder with your real values:
LICENSE_KEY=your-license-key \
WHAUTO_MAIL_SERVER_DOMAIN=mail.yourdomain.com \
WHAUTO_MAIL_WEB_SOCKET_DOMAIN=ws.yourdomain.com \
WHAUTO_MAIL_WEB_DOMAIN=app.yourdomain.com \
DOCKER_USERNAME=your-username \
DOCKER_PAT=your-personal-access-token \
LETS_ENCRYPT_EMAIL=you@email.com \
bash install.sh
LICENSE_KEYis mandatory. If it is missing, the script will stop and report an error.- All four domain variables are required for SSL certificates and correct routing. The script will exit if any of them are not provided.
- Using environment variables helps keep your credentials and configuration out of source control.
- The license key is automatically injected as an environment variable for the WhautoMail server application.
What happens next?
- All core WhautoMail services will be installed, started, and wired together automatically.
- SSL certificates will be requested from Let's Encrypt, configured for each domain, and set up for automatic renewal.
- Once the script finishes, you can sign in to your WhautoMail Business instance using the domains you configured above.