WordPress powers over 40% of all websites on the internet — from personal blogs to enterprise storefronts. But getting WordPress running smoothly depends heavily on your hosting. The wrong web hosting for WordPress can mean slow load times, security gaps, and frustrating limitations when you need to customize your site.
This step-by-step guide walks you through deploying WordPress on DeployBase, from creating your hosting account to configuring your site for production. No assumptions about your experience level — just clear instructions you can follow start to finish.
Why DeployBase for WordPress Hosting?
Before we start, here is why DeployBase works well as web hosting for WordPress:
- One-click WordPress install — No manual file uploads or database configuration. DeployBase sets up WordPress with a single click.
- SSH access on all plans — Use WP-CLI, manage files, and run commands directly from your terminal. No plan upgrades required.
- Free SSL certificates — Every WordPress site on DeployBase gets HTTPS automatically. No extra cost, no manual setup.
- MySQL and PostgreSQL databases — WordPress runs on MySQL by default, but having database options gives you flexibility for other applications on the same hosting.
- Redis support — Speed up your WordPress site with Redis object caching to reduce database queries.
- Custom domain support — Connect your own domain name to your WordPress site.
- Built-in file manager — Upload themes, plugins, and media files through the browser when SSH is not convenient.
Step 1: Create Your DeployBase Account
Head to deploybase.io and create an account. Once you are logged in, you will see the hosting dashboard where you can manage your applications.
From the dashboard, create a new hosting instance and select WordPress as your application type. DeployBase's one-click installer handles the rest — it provisions your server, installs WordPress, creates your MySQL database, and configures everything automatically.
Within a few minutes, your WordPress site will be live and accessible at a default DeployBase URL. You can start customizing immediately or connect your custom domain first (covered in Step 4).
Step 2: Access Your WordPress Dashboard
Once the installation completes, you can access your WordPress admin panel by navigating to:
https://your-app.deploybase.io/wp-admin
Log in with the credentials provided during setup. You will see the standard WordPress dashboard where you can:
- Choose and install a theme
- Add plugins for functionality you need
- Create pages and blog posts
- Configure site settings (title, tagline, permalinks)
First Things to Configure
Before adding content, handle these essentials:
- Set your permalink structure — Go to Settings > Permalinks and choose "Post name" for clean, SEO-friendly URLs like
/my-first-postinstead of/?p=123 - Update your site title and tagline — Settings > General. These appear in search results and browser tabs.
- Delete default content — Remove the "Hello World" post, sample page, and sample comment that WordPress installs by default.
- Set your timezone — Settings > General > Timezone. This affects scheduled posts and comment timestamps.
Step 3: Manage WordPress via SSH
One of the biggest advantages of DeployBase's web hosting for WordPress is SSH access on all plans. This means you can use WP-CLI (WordPress Command Line Interface) to manage your site efficiently — something many budget hosts restrict to premium tiers.
Connecting via SSH
SSH into your DeployBase application using the credentials from your dashboard:
# Connect to your DeployBase server
ssh your-user@your-app.deploybase.io
Using WP-CLI
WP-CLI lets you manage WordPress from the command line — faster than clicking through the admin panel for routine tasks:
# Check your WordPress version
wp core version
# Update WordPress core
wp core update
# List all installed plugins
wp plugin list
# Install and activate a plugin
wp plugin install wordfence --activate
# Update all plugins at once
wp plugin update --all
# Search and replace URLs (useful after domain change)
wp search-replace 'old-domain.com' 'new-domain.com'
# Clear all caches
wp cache flush
# Check database health
wp db check
# Optimize the database
wp db optimize
# Export database backup
wp db export backup.sql
WP-CLI is particularly valuable for managing multiple tasks quickly. Instead of navigating through the admin panel to update 15 plugins one by one, a single wp plugin update --all handles everything in seconds.
Managing Files via SSH
With SSH access, you can also manage WordPress files directly:
# View WordPress directory structure
ls -la
# Check disk usage
du -sh wp-content/uploads/
# Edit wp-config.php for advanced settings
nano wp-config.php
# Set proper file permissions
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod 600 wp-config.php
Step 4: Connect Your Custom Domain
Your WordPress site starts on a default DeployBase URL, but you will want to connect your own domain name for a professional appearance and better SEO.
DNS Configuration
In your domain registrar's DNS settings (GoDaddy, Namecheap, Cloudflare, etc.), create the following records:
# Point your domain to your DeployBase application
Type: A
Name: @
Value: [Your DeployBase IP address from the dashboard]
TTL: 3600
# Point www subdomain
Type: CNAME
Name: www
Value: your-app.deploybase.io
TTL: 3600
DNS changes can take up to 48 hours to propagate globally, but most updates take effect within 1-2 hours.
Update WordPress Site URL
Once your domain is pointing to DeployBase, update WordPress to use the new domain. You can do this via WP-CLI over SSH:
# Update site URL to your custom domain
wp option update siteurl 'https://yourdomain.com'
wp option update home 'https://yourdomain.com'
# Search and replace old URLs in content
wp search-replace 'your-app.deploybase.io' 'yourdomain.com' --skip-columns=guid
Or through the WordPress admin panel: go to Settings > General and update both the "WordPress Address (URL)" and "Site Address (URL)" fields.
Step 5: Set Up Free SSL (HTTPS)
DeployBase includes free SSL certificates on all plans. Your WordPress site should always run on HTTPS for security and SEO benefits — Google uses HTTPS as a ranking signal, and browsers warn visitors when sites are not secure.
SSL is provisioned automatically on DeployBase. Once your custom domain's DNS is pointing to your DeployBase application, the SSL certificate is issued and configured without any manual steps.
After SSL is active, make sure WordPress is configured to use HTTPS:
# Force HTTPS in wp-config.php
define('FORCE_SSL_ADMIN', true);
# If behind a reverse proxy, add:
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
$_SERVER['HTTPS'] = 'on';
}
You can also install the "Really Simple SSL" plugin which handles HTTPS configuration automatically, including fixing mixed content issues where some resources still load over HTTP.
Step 6: Install Essential Plugins
WordPress plugins extend your site's functionality. Here are essential plugins to install on a fresh WordPress deployment, organized by purpose:
Security
# Install security plugins via WP-CLI
wp plugin install wordfence --activate
wp plugin install limit-login-attempts-reloaded --activate
- Wordfence Security — Firewall, malware scanning, and login security. The free version covers most sites.
- Limit Login Attempts Reloaded — Blocks brute force attacks by limiting failed login attempts.
Performance
# Install caching plugin
wp plugin install w3-total-cache --activate
- W3 Total Cache — Page caching, browser caching, and minification. Reduces server load and speeds up page delivery.
SEO
# Install SEO plugin
wp plugin install wordpress-seo --activate
- Yoast SEO — Helps you optimize titles, meta descriptions, sitemaps, and content readability. The free version handles most SEO needs.
Backups
# Install backup plugin
wp plugin install updraftplus --activate
- UpdraftPlus — Schedule automatic backups to cloud storage (Google Drive, Dropbox, S3). The free version supports scheduled backups with one-click restore.
Step 7: Set Up Redis Object Caching
DeployBase supports Redis, which can significantly speed up your WordPress site by caching database queries in memory. Instead of running the same MySQL queries on every page load, WordPress retrieves cached results from Redis — much faster.
Enable Redis Caching
- Provision a Redis instance from your DeployBase dashboard
- Install the Redis Object Cache plugin:
# Install Redis cache plugin
wp plugin install redis-cache --activate
- Add your Redis connection details to
wp-config.php:
# Add to wp-config.php (above "That's all, stop editing!")
define('WP_REDIS_HOST', 'your-redis-host');
define('WP_REDIS_PORT', 6379);
define('WP_CACHE', true);
- Enable the Redis cache:
# Enable the object cache drop-in
wp redis enable
# Verify Redis is connected
wp redis status
With Redis enabled, you should see noticeable improvements in page load times, especially on content-heavy sites with many database queries per page.
Step 8: Optimize WordPress for Performance
Beyond Redis caching, there are several optimizations you can make to keep your WordPress site fast:
Image Optimization
Images are typically the largest files on any web page. Optimize them before uploading:
# Install image optimization plugin
wp plugin install imagify --activate
Imagify (or alternatives like ShortPixel or Smush) automatically compresses images on upload, reducing file sizes by 50-80% without visible quality loss.
Database Optimization
Over time, your WordPress database accumulates revisions, transients, and spam comments that slow down queries:
# Clean up post revisions (keep last 5 per post)
wp post delete $(wp post list --post_type='revision' --format=ids) --force
# Clean up spam comments
wp comment delete $(wp comment list --status=spam --format=ids) --force
# Optimize database tables
wp db optimize
# Limit stored revisions in wp-config.php
define('WP_POST_REVISIONS', 5);
Disable Unused Features
# Add to wp-config.php to reduce overhead
# Disable file editing in admin (security + performance)
define('DISALLOW_FILE_EDIT', true);
# Reduce autosave interval (default is 60 seconds)
define('AUTOSAVE_INTERVAL', 120);
# Limit post revisions
define('WP_POST_REVISIONS', 5);
Step 9: Secure Your WordPress Installation
WordPress is a popular target for automated attacks. Here are essential security hardening steps:
File Permissions
# Set correct file permissions via SSH
find /path/to/wordpress -type f -exec chmod 644 {} \;
find /path/to/wordpress -type d -exec chmod 755 {} \;
chmod 600 wp-config.php
Disable XML-RPC
XML-RPC is an old WordPress API that is frequently exploited for brute force attacks. Unless you specifically need it (for Jetpack or the WordPress mobile app), disable it:
# Add to .htaccess or nginx config
# For .htaccess:
<Files xmlrpc.php>
Require all denied
</Files>
Or install the "Disable XML-RPC" plugin for a simpler approach.
Change the Login URL
# Install WPS Hide Login to change /wp-admin URL
wp plugin install wps-hide-login --activate
This plugin changes the default /wp-admin and /wp-login.php URLs to a custom path, making it harder for bots to find your login page.
Keep Everything Updated
# Regular maintenance via SSH
wp core update
wp plugin update --all
wp theme update --all
wp core verify-checksums
Run these commands regularly (or set up a cron job) to keep WordPress, plugins, and themes up to date. The verify-checksums command checks if any core WordPress files have been modified — a sign of potential compromise.
Step 10: Set Up a Maintenance Routine
A well-maintained WordPress site stays fast and secure. Here is a practical maintenance schedule:
Weekly
- Update plugins and themes (
wp plugin update --all) - Check for WordPress core updates (
wp core update) - Review and delete spam comments
- Verify your backup plugin is running successfully
Monthly
- Optimize the database (
wp db optimize) - Review installed plugins — deactivate and delete any you are not using
- Check site speed with GTmetrix or Google PageSpeed Insights
- Review security logs (Wordfence dashboard)
- Test your backup restoration process
Quarterly
- Audit user accounts — remove inactive users and verify admin accounts
- Review and update your site's privacy policy
- Check for broken links and fix or redirect them
- Verify file checksums (
wp core verify-checksums)
Common WordPress Issues and How to Fix Them
Even well-configured WordPress sites run into issues. Here are the most common problems and their solutions:
White Screen of Death
# Enable debug mode in wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
# Check the debug log
cat wp-content/debug.log | tail -50
# If caused by a plugin, disable all plugins via CLI
wp plugin deactivate --all
# Re-enable one by one to find the culprit
wp plugin activate plugin-name
Database Connection Error
# Verify database credentials in wp-config.php
cat wp-config.php | grep DB_
# Test the connection manually
mysql -u DB_USER -p DB_NAME -h DB_HOST
# Repair the database
wp db repair
Permalink Issues (404 on Pages)
# Flush and regenerate permalink rules
wp rewrite flush
Your WordPress Site Is Ready
You now have a fully configured WordPress site running on DeployBase with:
- WordPress installed via one-click setup
- SSH access for WP-CLI management
- Free SSL certificate for HTTPS
- Custom domain connected
- Redis object caching for performance
- Security hardening applied
- Essential plugins installed
- A maintenance routine to keep things running smoothly
The combination of one-click WordPress installation, SSH access with WP-CLI on all plans, Redis support, and free SSL makes DeployBase a solid choice for web hosting for WordPress — whether you are launching a personal blog or a business website.
Get started with DeployBase and deploy your WordPress site in minutes.



