Guides tagged “deployment”
Step-by-step MdmHost guides about deployment, sorted A-Z.
12 guides
Allow sudo without a password (NOPASSWD) for one user or command
Let a deploy script or one trusted user run sudo without typing a password, using a NOPASSWD rule in /etc/sudoers.d, ideally limited to the exact commands needed.
Deploy a Laravel app on cPanel hosting
Host a Laravel application on cPanel: upload or clone the code, point the domain to the public folder, run Composer, set .env, migrate the database and schedule tasks.
Deploy a Next.js app on a Linux VPS (next start or standalone)
Build and run a Next.js app in production on a Linux VPS with next start or the smaller standalone output, keep it alive with PM2 and serve it through Nginx.
Deploy a Next.js app on cPanel hosting with Setup Node.js App
Run a server-rendered Next.js site on MdmHost cPanel hosting: build it, upload it, create the app in Setup Node.js App with a custom server file and restart.
Deploy a Node.js app with PM2 behind Nginx
Install a Node.js LTS release, keep your app running with PM2 across crashes and reboots, and serve it through Nginx with HTTPS.
Deploy a website from Git in Plesk (GitHub, GitLab, Bitbucket)
Connect a remote Git repository to a Plesk domain, deploy automatically or manually with a webhook, set the deployment path and run build commands after each push.
Deploy a website with cPanel Git Version Control
Clone a GitHub or GitLab repository into cPanel with Git Version Control, pull updates, and deploy automatically to public_html with a .cpanel.yml file.
Host a Laravel application with Plesk Laravel Toolkit
Install the Laravel Toolkit in Plesk, deploy a Laravel app from Git, set the public document root and .env, run Composer, migrations, the scheduler and queues.
Host a static website (HTML, Hugo, Jekyll, Astro) on cPanel
Publish a static website on cPanel hosting: build it locally, upload the output folder to the document root, set clean URLs, caching headers and HTTPS, and automate with Git.
Manage PHP dependencies with Composer in Plesk
Use the Plesk PHP Composer extension to install and update packages from composer.json, choose the PHP version, set environment variables, and run Composer over SSH.
Use Composer for PHP packages on cPanel hosting
Run Composer on cPanel shared hosting: check it is available, pick the right PHP version, install and update dependencies, handle memory errors and deploy without dev packages.
Use staging sites in WP Squared
Create a staging copy of a WP Squared site, test updates or redesigns privately, and publish the changes to the live site without breaking orders or content.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.69 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.37 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.49 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.40 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.37 guides
- DomainsRegistering, transferring and managing domains and nameservers.20 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.19 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.30 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.23 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.23 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.7 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.30 guides
- PleskWebsites, email, databases and settings in the Plesk panel.52 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.40 guides
- WHMCSBilling, automation, products and client management with WHMCS.51 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.106 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.115 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.34 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.52 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.64 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.68 guides
- Linux VPSSSH, packages, services and everyday Linux administration.70 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.58 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.58 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.
