Generate a ready-to-paste Nginx server block or Apache VirtualHost. Add PHP-FPM, an HTTPS redirect and your document root — no boilerplate to memorise.
/etc/nginx/sites-available/your-domain, then symlink it into sites-enabled with ln -s, test with nginx -t, and reload using systemctl reload nginx./etc/apache2/sites-available/your-domain.conf, enable it with a2ensite your-domain, then run systemctl reload apache2..php requests to the FPM socket.certbot --nginx or certbot --apache — and it will obtain a free Let's Encrypt certificate and update your config automatically.TextraHost Linux VPS plans start at $5.50/mo — full root, NVMe storage, India & Singapore.