How to create a WordPress Staging Site with Softaculous
How to Create a WordPress Staging Site with Softaculous
Last updated: 30 Oct 2025
Description
This guide shows you how to create a WordPress staging site using the Softaculous App Installer inside the DirectAdmin
control panel, and how to push changes between live and staging. We’ll also cover how the Website Preview (Preview URL)
feature fits into your development workflow.
This article is intended for shared hosting customers with basic technical knowledge. No server admin access is
required.
Prerequisites
- You have a WordPress site installed on your hosting account (installed via Softaculous is recommended).
- You can access your Eco Web Hosting client area and DirectAdmin control panel.
- Your domain is added to your hosting and points to your account, or you will use the Preview URL to test changes
before DNS updates.
Accessing Your Hosting Control Panel
1. Log in to your Eco Web Hosting Client Area.
2. Click Manage Hosting on the relevant domain.
3. Open the DirectAdmin control panel.
If you need help, see: How to Access Your Web Hosting Control Panel.
Create a WordPress Staging Site in Softaculous
Softaculous can clone your existing WordPress installation into a staging environment, typically on a subdomain or
subdirectory. This lets you test updates, themes, and plugins without affecting your live site.
Step-by-step: Create the staging site
1. In DirectAdmin, scroll to the Softaculous Apps Installer and click WordPress.
2. Click Installations (or go to Softaculous > WordPress > All Installations) to see your existing WordPress site.
3. Find your live site in the list and click the Staging icon (often a “rocket” or “stage” icon).
4. Configure the staging details:
- Choose Protocol/Domain: Select a subdomain (e.g. staging.yourdomain.com) or the same domain.
- In Directory: If using your main domain, enter a folder name like staging (e.g. yourdomain.com/staging). Leave
blank if using a dedicated subdomain.
- Database Name: Softaculous will generate a new database for the staging copy. Leave as suggested unless you
prefer a custom name.
- Site Name/Admin User: Typically cloned from live. Keep defaults unless you need a different admin email for
testing.
5. Click Create Staging.
Softaculous will clone the files and database. Once complete, it will display:
- Staging site URL (e.g. https://staging.yourdomain.com)
- WordPress admin URL for staging (e.g. https://staging.yourdomain.com/wp-admin)
Tip: If you plan to use a subdomain (recommended), create it first in DirectAdmin under Subdomains. This automatically
sets up the document root for the staging site.
Managing Your Staging Site
You can manage both live and staging installations via:
- Softaculous > WordPress > Installations
- WordPress Manager in Softaculous (quick actions for login, updates, backups)
Common tasks:
- Log in to staging and test theme/plugin updates.
- Try new designs or page builders.
- Import/export content as needed for testing.
Push Changes Between Live and Staging
Softaculous supports two types of “push” operations:
- Push to Staging: Sync specific data from live to staging (e.g. to refresh the staging copy with the latest content
before a new round of testing).
- Push to Live: Deploy your tested staging changes back to the production site.
Push from Live to Staging (Refresh Staging)
Use this when your live site has changed and you want your staging to match before you test again.
1. Go to Softaculous > WordPress > Installations.
2. Locate your live site entry and click the Push to Staging option.
3. Choose what to include:
- Files and Database
- Files only
- Database only
4. Confirm and run the push.
Best practice: If your live site is busy, consider backing up both installations in Softaculous first.
Push from Staging to Live (Deploy)
Use this when you’ve tested changes on staging and want to go live.
1. Go to Softaculous > WordPress > Installations.
2. Locate the staging site entry and click the Push to Live option.
3. Choose the scope of the push:
- Files and Database (full deployment)
- Files only (e.g. theme/plugin updates)
- Database only (e.g. content or settings changes)
4. Confirm and start the deployment.
Important: If your live site takes orders or user registrations, pushing the staging database to live can overwrite
recent live data. Consider “Files only” push or schedule maintenance with a recent database backup.
Using Website Preview (Preview URL) with Staging
If your domain isn’t yet pointed to our servers, or you want to share a private view, use the Website Preview tool.
Generate a Preview URL
1. In DirectAdmin, go to Extra Features > Website Preview.
2. Find your domain and click Generate Preview URL if one doesn’t already exist.
3. Open Preview to view your site at a temporary .prevu.io link.
How this fits your workflow:
- Use Preview URLs to check both the live and staging copies before DNS changes.
- Share the preview link with stakeholders for approval.
- Remember: Preview links expire after 14 days and may be slightly slower.
Alternative Approaches and Related Tools
- WordPress Manager in Softaculous: Quick access to admin, maintenance mode, backups, and updates.
- File Manager (DirectAdmin): Inspect or adjust files for both live and staging paths.
- Subdomains: Create staging.yourdomain.com via DirectAdmin > Subdomains for a clean staging address.
- Backups (JetBackup or Softaculous backups): Take on-demand backups before push operations.
Note on control panels: This guide uses DirectAdmin. If you also manage sites on cPanel-based servers elsewhere, the
Softaculous staging workflow is very similar within cPanel > Softaculous.
Practical Examples
Example: Create staging in a subdomain
- Subdomain: staging.yourdomain.com
- Path after subdomain creation: /domains/yourdomain.com/public_html/staging/
- Softaculous staging configuration:
- Domain: staging.yourdomain.com
- Directory: (leave blank)
- Database: wp_staging_2025 (auto-generated)
Example: Push only theme/plugin files to live
- In Softaculous > Installations > staging entry
- Push to Live > Files only
- Result: New theme/plugin files and custom code go live; live database remains intact (orders, users unaffected)
Best Practices
- Always back up both live and staging before push operations.
- Use a subdomain for staging to avoid confusing URLs.
- Keep staging private with a maintenance mode or password protection plugin.
- Avoid pushing the staging database to live if your live site collects time-sensitive data (e.g., orders, bookings).
- Keep WordPress core, plugins, and themes updated—enable automatic updates in WordPress Manager if desired.
Troubleshooting
Staging button not visible in Softaculous
- Ensure your live WordPress was detected by Softaculous (installed via Softaculous or imported into it).
- In Softaculous > WordPress > Installations, use the Import option to register an external install.
Staging site shows 404 or folder not found
- If using a subdomain, confirm it’s created in DirectAdmin > Subdomains and points to the correct directory.
- Check File Manager to confirm files exist in the subdomain’s document root.
Mixed content or HTTPS issues on staging
- Confirm SSL is enabled on the staging domain/subdomain (use the SSL Certificates tool to issue/renew Let’s Encrypt).
- Update WordPress Address (URL) and Site Address (URL) in Settings for the staging site if necessary.
- Consider a search-replace plugin for URLs if themes/scripts are referencing the live domain.
Permissions or backup errors during push
- Verify file/folder permissions:
- Folders: 755
- Files: 644
- Check you’re not over disk quota (see DirectAdmin account info).
- Re-run the operation after clearing any maintenance mode plugins.
Database overwrite warnings
- Read the push summary carefully. If your site is transactional, choose Files only or schedule downtime, back up,
then perform a full push.
Useful Commands and Snippets
Although no SSH is required, these examples are helpful if you have SSH access or need to document permissions:
# Check current path (optional)
pwd
# Typical permissions
find public_html -type d -exec chmod 755 {} \;
find public_html -type f -exec chmod 644 {} \;
Only run commands if you’re comfortable with SSH. Otherwise, use File Manager to adjust permissions.
FAQs
- Can I have multiple staging sites? Yes, you can clone multiple times (e.g., staging, dev), as long as each uses its
own path/subdomain and database.
- Do I need to change DNS for staging? If you use a subdomain on our nameservers, DNS is handled automatically. If DNS
is external, create an A record for the subdomain pointing to your hosting IP (see Account Info).
- Can I preview without DNS changes? Yes—use the Website Preview tool to generate a .prevu.io link.
Summary
- Use Softaculous to create a staging copy of your WordPress site quickly.
- Test safely on staging and then push selective changes back to live.
- Use the Website Preview tool to review changes before DNS updates or to share private previews.
- Leverage DirectAdmin tools—Subdomains, File Manager, SSL Certificates, and backups—to support a smooth staging
workflow.