Choose your web server
- Nginx: lightweight and great performance
- Apache: flexible and widely supported
Install the web stack
Typical setups:
- PHP sites: Nginx/Apache + PHP-FPM + MariaDB/MySQL (if needed)
- WordPress: web server + PHP + database + caching
Create a site configuration (virtual host)
Configure your domain to point to a folder on your VPS (example:
/var/www/yourdomain), and set the site’s server name to your domain.Upload your website files
Upload via SFTP, Git, or deployment scripts.Confirm the site loads by IP before switching DNS.
Install SSL (HTTPS)
Use an SSL tool (commonly Let’s Encrypt) to issue a certificate for your domain, then enable HTTPS redirects after issuance.

