Guides tagged “nginx”
Step-by-step MdmHost guides about nginx, sorted A-Z.
112 guides · page 3 of 6
Get free Let's Encrypt SSL certificates with Certbot on Linux
Install Certbot, issue Let's Encrypt certificates for Nginx or Apache, use webroot, standalone and DNS-01 wildcard modes, automate renewal with hooks and fix common errors.
Hide the Nginx version and harden the default config
Make Nginx give away less and accept less. Hide the version number, drop requests for unknown hosts, block dotfiles, limit methods and body size, and tighten timeouts.
Host multiple websites on Nginx with server blocks and PHP-FPM
Configure Nginx server blocks to host several PHP websites on one VPS, each with its own PHP-FPM pool and user, pretty permalinks, security rules and free HTTPS.
Host multiple websites on one VPS with Nginx server blocks
Run several websites on one Linux VPS by giving each domain its own Nginx server block, its own web root and its own logs, then test and reload safely.
Hotlink protection in Nginx and Apache: stop bandwidth theft
Stop other websites embedding your images and files: how hotlinking works, valid_referers in Nginx, mod_rewrite rules in Apache and .htaccess, allowing search engines and social sites, and testing.
How to migrate a website from Apache to Nginx
Move a site from Apache to Nginx with low downtime - convert virtual hosts and.htaccess rewrites, set up PHP-FPM, reuse SSL certificates, test on a spare port, then switch.
Implementing a Web Application Firewall on Nginx with ModSecurity
Install the ModSecurity module on Nginx, load the OWASP Core Rule Set, run in detection mode first, then block SQL injection and XSS with tuned rules.
Implementing advanced rate limiting in Nginx using limit_req
Use Nginx limit_req_zone and limit_req to cap requests per second, allow bursts, key limits by IP or API token and return clean 429 responses instead of letting abuse through.
Install a LEMP stack by hand (Nginx, MariaDB, PHP-FPM) on Ubuntu or AlmaLinux
Build a fast LEMP server: install Nginx, MariaDB and PHP-FPM on Ubuntu 24.04 or AlmaLinux 9, write a server block for PHP apps, secure it and add Let's Encrypt SSL.
Install and secure phpMyAdmin on a Linux VPS
Install phpMyAdmin on an Nginx or Apache VPS, give it a hidden URL, add HTTP authentication and IP limits, and use a non-root database account.
Install Apache Tomcat on Linux and put it behind Nginx
Run Java web apps on a VPS: install a JDK and Apache Tomcat as a systemd service, deploy a WAR file, secure the manager, and serve it over HTTPS through an Nginx reverse proxy.
Install Drupal with Composer and Drush on a VPS
Install Drupal the recommended way with Composer on a Linux VPS: PHP requirements, database, Nginx config for the web folder, Drush site install, cron and trusted host settings.
Install Ghost CMS on an Ubuntu VPS with Ghost-CLI
Install the Ghost publishing platform on Ubuntu with Node.js, MySQL 8, Nginx and Ghost-CLI, including SSL, a systemd service, email settings, updates and backups.
Install Joomla 5 on a Linux VPS with Nginx
Install Joomla 5 on an Ubuntu or AlmaLinux VPS with Nginx, PHP-FPM and MariaDB, including the PHP extensions, an Nginx config with SEF URLs, SSL and post-install hardening.
Install Magento 2 (Adobe Commerce Open Source) on a VPS
Prepare a VPS for Magento 2: PHP, MySQL, OpenSearch and Composer requirements, install with bin/magento, set production mode, cron, caching and file permissions.
Install ModSecurity with the OWASP Core Rule Set on Apache or Nginx
Add a web application firewall to a self-managed server: install ModSecurity v3 for Nginx or mod_security2 for Apache, load the OWASP CRS, start in detection mode and tune false positives.
Install Moodle on a Linux VPS with Nginx and PHP-FPM
Install the Moodle LMS on a VPS: PHP and database requirements, moodledata outside the web root, Nginx with slash arguments, the CLI installer, cron every minute and caching.
Install Nextcloud on a Linux VPS (manual or Docker AIO)
Self-host Nextcloud on a VPS: choose between the Docker All-in-One image and a manual LEMP install, then configure cron, Redis caching, upload limits and security checks.
Install Nginx and host your first website
Install Nginx, open ports 80 and 443, create a server block for your domain, and learn the test-then-reload routine that keeps a site online.
Install OpenCart on a Linux VPS with Nginx
Install OpenCart 4 on an Ubuntu or AlmaLinux VPS with Nginx, PHP-FPM and MariaDB: PHP extensions, database, config files, SEO URL rules, SSL and securing the storage folder.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.83 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.67 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.53 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.49 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.67 guides
- DomainsRegistering, transferring and managing domains and nameservers.27 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.41 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.35 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.24 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.24 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.28 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.44 guides
- PleskWebsites, email, databases and settings in the Plesk panel.53 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.41 guides
- WHMCSBilling, automation, products and client management with WHMCS.52 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.107 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.138 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.72 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.83 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.80 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.127 guides
- Linux VPSSSH, packages, services and everyday Linux administration.265 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.73 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.82 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
