Website Migration: Moving Your Site to Salama Hosting¶
Migrating your website from another hosting provider to Salama Hosting is a straightforward process. Whether you're switching for better performance, pricing, support, or features, this guide walks you through every step to ensure a smooth, zero-downtime transition.
Free Migration Assistance¶
Salama Hosting offers free website migration for all new customers. Our technical team will handle the entire process for you — just submit a migration request and we'll take care of the rest.
To request free migration:
- Log in to your client portal.
- Submit a support ticket under Technical Support.
- Include:
- Your current hosting provider's name
- cPanel/Plesk/DirectAdmin login URL and credentials (or FTP credentials)
- List of domains/websites to migrate
- Any special requirements (e.g., specific database configurations)
Our team will schedule the migration, perform the transfer, and notify you once everything is ready for testing.
Before You Migrate: Preparation Checklist¶
Before starting the migration, take these essential preparatory steps:
1. Inventory Your Current Setup¶
Document everything about your current hosting:
- [ ] List of all websites/domains hosted
- [ ] Databases and their names
- [ ] Email accounts and important messages
- [ ] SSL certificates
- [ ] Cron jobs or scheduled tasks
- [ ] Custom server configurations (.htaccess rules, PHP settings)
- [ ] Third-party integrations (CDN, payment gateways, APIs)
2. Create a Full Backup¶
Before migrating, create a complete backup at your current host:
- [ ] All website files (public_html / www directory)
- [ ] All MySQL/PostgreSQL databases
- [ ] Email accounts and messages (if needed)
- [ ] DNS zone files (screenshot or export your current DNS records)
3. Check Your Current DNS Records¶
Record your existing DNS settings — you'll need to recreate them after migration:
- A records
- CNAME records
- MX records (critical for email continuity)
- TXT records (SPF, DKIM, DMARC)
4. Purchase Your Salama Hosting Plan¶
Ensure your hosting account at Salama Hosting is active and ready before beginning the migration.
5. Note Your Salama Hosting Server Details¶
From your Salama Hosting welcome email, note:
- Server IP address
- Nameservers (ns1.salamahosting.com, ns2.salamahosting.com)
- Control panel login URL and credentials
Migration Methods¶
Method 1: cPanel-to-cPanel Migration (Recommended)¶
The fastest method if both your old and new hosting use cPanel.
Using cPanel Full Backup¶
At your old host:
- Log in to cPanel.
- Go to Files → Backup or Backup Wizard.
- Click Download a Full Account Backup.
- Wait for the backup to generate, then download the
.tar.gzfile.
At Salama Hosting:
- Open a support ticket and attach or share the backup file.
- Our team will restore it on your new account.
- Alternatively, if you have WHM access, use the Transfer Tool to pull directly.
Using cPanel Migration Tool (Provider-Assisted)¶
Contact Salama Hosting support with your old cPanel credentials, and our team can use the built-in migration tool to transfer everything directly — including files, databases, email, and settings.
Method 2: Manual Migration via FTP + Database¶
For any hosting-to-hosting migration (works regardless of control panel).
Step 1: Download Files¶
From your old host:
- Connect to your old hosting via FTP (FileZilla or similar client).
- Navigate to the
public_html(orwww,htdocs) directory. - Download all files and folders to your local computer.
Step 2: Export Databases¶
From your old host:
- Log in to phpMyAdmin (or equivalent).
- Select your database.
- Click Export → Quick → SQL format → Go.
- Save the
.sqlfile to your computer.
Step 3: Upload Files to Salama Hosting¶
- Connect to your new Salama Hosting account via FTP.
- Upload all website files to the
public_htmldirectory.
Step 4: Import Databases¶
- Log in to phpMyAdmin at Salama Hosting.
- Create a new database with the same name (via cPanel → MySQL Databases).
- Create a database user and assign it to the database.
- Select the new database in phpMyAdmin.
- Click Import and upload your
.sqlfile.
Step 5: Update Configuration Files¶
If your website uses a CMS (WordPress, Joomla, etc.), update the database connection settings:
WordPress (wp-config.php):
define('DB_NAME', 'your_new_database_name');
define('DB_USER', 'your_new_database_user');
define('DB_PASSWORD', 'your_new_database_password');
define('DB_HOST', 'localhost');
Joomla (configuration.php):
public $db = 'your_new_database_name';
public $user = 'your_new_database_user';
public $password = 'your_new_database_password';
public $host = 'localhost';
Method 3: WordPress Plugin Migration¶
For WordPress sites, migration plugins make the process simple:
Using All-in-One WP Migration¶
- Install All-in-One WP Migration plugin on your old WordPress site.
- Go to All-in-One WP Migration → Export.
- Export as File and download the
.wpressarchive. - Install a fresh WordPress on your Salama Hosting account.
- Install All-in-One WP Migration on the new site.
- Go to All-in-One WP Migration → Import and upload the file.
Using Duplicator¶
- Install Duplicator plugin on your old WordPress site.
- Create a new package (this bundles files + database).
- Download the installer.php and archive.zip files.
- Upload both files to your Salama Hosting
public_htmlvia FTP. - Visit
yourdomain.com/installer.phpand follow the wizard.
Method 4: Email Migration¶
Email accounts and messages require special attention:
Migrating Email Accounts¶
- Recreate all email accounts in your new control panel with the same addresses and passwords.
- IMAP sync method: Configure both old and new mail servers in an email client (Outlook, Thunderbird). Drag messages from the old account to the new one.
- ImapSync tool: For bulk migration, ask Salama Hosting support to use server-side tools to copy your email data.
Tip: Don't update MX records until email accounts are created and optionally synced at the new host.
Switching DNS (Going Live)¶
After everything is uploaded, tested, and working at Salama Hosting, it's time to switch your domain:
Option A: Update Nameservers (Recommended)¶
At your domain registrar, update your nameservers to:
ns1.salamahosting.com
ns2.salamahosting.com
This transfers all DNS management to Salama Hosting.
Option B: Update A Record Only¶
If you want to keep DNS management at your current registrar, update only the A record:
@ A [Your Salama Hosting Server IP]
www A [Your Salama Hosting Server IP]
Also update MX records if your email is hosted with Salama Hosting.
DNS Propagation¶
After updating DNS, propagation takes 1–48 hours (typically 2–6 hours). During this time:
- Some visitors will see your old site, others will see the new one.
- Do not delete your old hosting account until propagation is complete (wait at least 72 hours).
Post-Migration Checklist¶
After migration, verify everything works correctly:
- [ ] Website loads correctly on all pages
- [ ] All images, CSS, and JavaScript files load properly
- [ ] Forms, shopping carts, and interactive features work
- [ ] Database-driven content displays correctly
- [ ] Email accounts are set up and receiving messages
- [ ] SSL certificate is active (HTTPS works)
- [ ] Redirects and .htaccess rules function properly
- [ ] Cron jobs are recreated
- [ ] DNS records are correctly configured
- [ ] Website performance is satisfactory
- [ ] Contact forms send emails to the correct addresses
Minimizing Downtime During Migration¶
To achieve near-zero downtime:
- Lower DNS TTL to 300 (5 minutes) at least 24 hours before the switch.
- Complete all file and database transfers before changing DNS.
- Test using the server IP or a temporary URL before switching DNS.
- Keep your old hosting active for at least 72 hours after DNS change.
- Switch DNS during low-traffic hours (late night or early morning).
- Freeze content changes — avoid updating your old site during migration.
Common Migration Issues¶
"Error establishing a database connection" after migration¶
- Database credentials in your config file don't match the new database. Update
wp-config.phpor equivalent. - Database wasn't imported correctly. Re-import via phpMyAdmin.
Images or CSS not loading¶
- File permissions may need updating. Set directories to 755 and files to 644.
- Hardcoded URLs in the database (WordPress). Use the Better Search Replace plugin to update old URLs.
Email not working after migration¶
- MX records may not be updated yet. Verify DNS settings.
- Email accounts need to be recreated at the new host.
SSL certificate errors¶
- Request a new SSL certificate at Salama Hosting (Run AutoSSL in cPanel).
- SSL certificates from your old host cannot be transferred — new ones must be issued.
Mixed content warnings (HTTP/HTTPS)¶
- Some URLs in your content still reference
http://. Update them tohttps://. - In WordPress, use a plugin like Really Simple SSL to fix this automatically.
Need Help?¶
Website migration can be complex. Let our team handle it for you:
- Email: support@salamahosting.com
- Phone: 0702 499 649 / 0783 975 685
- Support Ticket: Submit a migration request
Remember: Migration assistance is free for all Salama Hosting customers.