Joomla Installation and Setup Guide
Install and configure Joomla on UnderHost shared hosting or VPS. Learn database setup, file permissions, admin configuration, and post-installation steps.
On this page
Joomla is a powerful, flexible content management system perfect for blogs, business sites, and community portals. UnderHost hosting supports Joomla on both shared hosting and VPS. This guide covers installation from start to finish.
System Requirements
Joomla 4.x requires:
- PHP 7.2+ (8.0+ recommended)
- MySQL 5.7+ or MariaDB 10.1+
- Apache or Nginx web server
- .htaccess support (for URL rewriting)
- OpenSSL extension
On UnderHost: All shared hosting and VPS plans include PHP 7.4-8.2, MySQL/MariaDB, and Apache/Nginx. Check PHP version in cPanel → Select PHP Version or aaPanel dashboard.
Download Joomla
- Visit downloads.joomla.org
- Download the latest stable version (Joomla 4.x)
- Extract the ZIP file on your computer
Upload to Server
Option 1: Using cPanel File Manager (Shared Hosting)
- Log into cPanel
- Click File Manager
- Navigate to public_html folder
- Click Upload and select the Joomla ZIP file
- Right-click the ZIP → Extract
- Delete the ZIP file when done
Option 2: Using FTP Client (cPanel or VPS)
- Get FTP credentials from cPanel → FTP Accounts
- Use FileZilla or WinSCP to connect
- Upload all Joomla files to public_html (or subdirectory)
- Extraction may happen automatically on upload
Option 3: Using SSH (VPS/Dedicated)
cd /home/username/public_html
wget https://downloads.joomla.org/cms/joomla4-latest.zip
unzip joomla4-latest.zip
rm joomla4-latest.zip
Create Database
In cPanel:
- Go to MySQL Databases
- Create new database (name: username_joomla)
- Create MySQL user with same name
- Set a strong password
- Add user to database with ALL permissions
In aaPanel/CloudPanel:
- Go to Database → MySQL
- Create database and user
- Note the database name, user, and password
Run Installation Wizard
- Visit yourdomain.com in your browser
- Joomla installer should load automatically
- Select Language → Choose your language
- Pre-Installation Check → Verify all items show green
- Database Configuration:
- Database Type: MySQLi
- Host: localhost
- Database Name: username_joomla
- User: database_user
- Password: your_password
- Admin User → Create admin account (different password from DB)
- Site Settings → Name your site, set timezone
- Installation Complete → Note the admin login URL
Important: Delete the installation folder when prompted:
# Via SSH
rm -rf installation/
# Via File Manager
Delete the "installation" folder
Access Admin Panel
After removing the installation folder:
- Visit yourdomain.com/administrator
- Login with admin credentials you created
- You're now in the Joomla admin dashboard
Fix File Permissions
For proper functionality, set correct permissions on key folders:
# Via SSH (VPS/Dedicated)
chmod 755 configuration.php
chmod 755 htaccess.txt
# Rename htaccess to enable friendly URLs
mv htaccess.txt .htaccess
In cPanel File Manager: Right-click → Permissions → Set to 755 for folders, 644 for files.
Post-Installation Steps
Enable SEO-Friendly URLs
- Login to Joomla admin panel
- Go to System → Configuration
- Click System tab
- Set Search Engine Friendly URLs: ON
- Set Use Apache mod_rewrite: ON
- Save & Close
Install Security Extensions
- Admin Tools: Firewall, 2FA, malware scanner
- Akeeba Backup: Automated backups
- RSFirewall: Web application firewall
Configure Regular Backups
Use cPanel Backups (shared hosting) or Akeeba Backup (Joomla extension) to automate backups. See our Backup strategy guide.
Common Issues & Fixes
| Issue | Solution |
|---|---|
| Blank page after install | Enable .htaccess, check PHP error logs, verify database connection |
| Can't delete installation folder | Check file permissions, use FTP or SSH to delete |
| Database connection error | Verify database credentials, ensure MySQL is running |
| Email not sending | Configure SMTP in System → Configuration → Server |
Most cPanel hosting includes Softaculous or AutoInstaller for one-click Joomla setup. This handles uploads, database creation, and configuration automatically. Check your cPanel home page for the installer icon.
Related: WordPress installation | CMS comparison | CMS on shared hosting
Need hosting for a CMS?
Host WordPress, Joomla, Drupal, Magento, and other PHP applications on UnderHost shared, managed, VPS, or dedicated services.





















