Most MdmHost customers install WordPress with Softaculous in one click, but a manual install gives you full control over the database name, the table prefix and the folder layout. It is also the best way to understand what an installer does for you, which helps later when something breaks.
Before you start
- A cPanel hosting account with your domain pointed at it (the domain's A record or nameservers point to MdmHost).
- The latest WordPress ZIP from wordpress.org saved on your computer.
- A free SSL certificate issued by AutoSSL, so you can install on
https://from the start.
Upload the WordPress files
- Log in to the MdmHost dashboard, open Services and click Login to cPanel.
- Go to cPanel → Files → File Manager and open
public_html(or the document root of an addon domain). - Click Upload, select
wordpress-x.y.z.zipand wait until the bar turns green. - Back in File Manager, right-click the ZIP and choose Extract. This creates a
wordpressfolder. - Open the
wordpressfolder, click Select All, then Move and change the path to/public_html/. Delete the empty folder and the ZIP afterwards.
Warning: If public_html already contains an index.html placeholder, delete it, otherwise visitors keep seeing the placeholder instead of WordPress.
Create the database and user
- Open cPanel → Databases → Manage My Databases (called MySQL Databases on older themes).
- Under Create New Database enter a name such as
wp. cPanel adds your account prefix, giving e.g.user_wp. - Under Add New User create a user and use the password generator for a strong password. Copy it somewhere safe.
- Under Add User To Database pick the user and database, click Add, tick ALL PRIVILEGES and save.
Run the WordPress installer
- Visit
https://yourdomain.com. WordPress starts its setup wizard and asks for your language. - Enter the database name, username and password exactly as cPanel shows them, including the prefix. Leave Database Host as
localhost. - Change the Table Prefix from
wp_to something short and unique such asmdm7_. - Click Run the installation, then set the site title, an admin username (never
admin), a strong password and your email address.
If the wizard cannot write wp-config.php it shows the file's contents instead. Create wp-config.php in File Manager, paste the text, save and continue.
What to check afterwards
- Settings → General: both addresses start with
https://. - Settings → Permalinks: choose Post name and save so cPanel's
.htaccessrules are written. - Install the LiteSpeed Cache plugin, because MdmHost servers run LiteSpeed.
- Confirm daily JetBackup backups cover the new database under cPanel → JetBackup.
Troubleshooting
- Error establishing a database connection: the database name or user is missing the cPanel prefix, or the user was never added to the database.
- Directory listing or 403: the files are still inside
public_html/wordpress; move them up one level. - Installer loops back to the language screen: clear your browser cache and make sure no old
wp-config.phpis present.
