Why You Might Need to Switch Hosts
Your current hosting provider might be too slow, too expensive, or lacking the features your business needs. Maybe you're experiencing frequent downtime, or your support tickets go unanswered for days. Whatever the reason, moving your website to a new host doesn't have to be stressful if you follow a clear process.
This guide walks you through the entire migration process, from backing up your files to updating your DNS records.
Before You Start: What You'll Need
Before diving into the migration, gather these essentials:
- Access to your current hosting control panel (cPanel, Plesk, or similar)
- FTP/SFTP credentials for your current host
- Database access credentials
- Your domain registrar login information
- Access to your new hosting account
- At least 2-3 hours of uninterrupted time
Pick a low-traffic time for your migration. For most small businesses, this means late evening or early morning hours.
Step 1: Set Up Your New Hosting Account
Sign up for your new hosting plan and wait for the welcome email with your account details. Most hosts provide:
- A temporary URL to access your site before DNS changes
- Control panel login credentials
- Nameserver information
- FTP/SFTP access details
Log into your new hosting control panel and familiarize yourself with the layout. Create a new database if your site uses one (most WordPress, Joomla, and Drupal sites do).
Write down your new database name, username, and password—you'll need these later.
Step 2: Back Up Everything from Your Current Host
Never start a migration without a complete backup. You need two things: your website files and your database.
Backing Up Your Files
The easiest method is using an FTP client like FileZilla:
- Connect to your current host via FTP
- Navigate to your website's root directory (usually
public_htmlorwww) - Download all files and folders to your computer
- Keep this backup safe—it's your insurance policy
Alternatively, if your host offers cPanel, use the File Manager to create a zip archive of your entire site, then download it.
Backing Up Your Database
For sites with databases:
- Log into phpMyAdmin through your current hosting control panel
- Select your website's database from the left sidebar
- Click the "Export" tab at the top
- Choose "Quick" export method and "SQL" format
- Click "Go" to download the database file
Save this .sql file with your website files backup.
Step 3: Upload Files to Your New Host
Now you'll transfer everything to your new hosting account.
Uploading via FTP
- Open your FTP client and connect to your new host
- Navigate to the root directory for your domain
- Upload all the files you downloaded earlier
- This may take 15 minutes to several hours depending on your site size
Uploading via Control Panel
If you created a zip archive:
- Log into your new host's control panel
- Open the File Manager
- Upload the zip file
- Use the Extract function to unpack it in the correct directory
Step 4: Import Your Database
If your site uses a database:
- Log into phpMyAdmin on your new host
- Select the database you created earlier
- Click the "Import" tab
- Click "Choose File" and select your
.sqlbackup - Click "Go" at the bottom of the page
- Wait for the success message
Step 5: Update Your Database Connection Settings
Your website needs to know how to connect to the database on the new server.
For WordPress sites, edit the wp-config.php file:
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');
Replace the values with the credentials from your new hosting account. Other platforms have similar configuration files—check your CMS documentation.
Step 6: Test Your Site on the New Host
Before changing your DNS, test that everything works on the new server.
Most hosts provide a temporary URL like http://123.45.67.89/~username or http://tempurl.yourhost.com. Visit this URL and:
- Check that your homepage loads correctly
- Test navigation between pages
- Verify images and media files display properly
- Submit a contact form if you have one
- Test any e-commerce or membership functions
If something doesn't work, now is the time to fix it—not after you've switched DNS.
Step 7: Update Your DNS Records
Once you've confirmed everything works, it's time to point your domain to the new host.
Log into your domain registrar (this might be your old host, or a separate company like Namecheap or GoDaddy):
- Find the DNS or Nameserver settings
- Replace the old nameservers with the ones provided by your new host
- Save the changes
DNS propagation takes anywhere from 2 to 48 hours, though it's usually complete within 4-6 hours. During this time, some visitors might see the old site while others see the new one.
Step 8: Monitor and Verify
After updating DNS:
- Check your site every few hours from different devices
- Test all critical functions again
- Monitor your email to ensure messages are being delivered
- Check your site's uptime and loading speed
Keep your old hosting account active for at least a week after migration. This gives you time to catch any issues and ensures you don't lose data.
Common Migration Issues and Quick Fixes
Broken images or missing files: Usually means file paths are incorrect or files didn't upload completely. Re-upload the affected directories.
Database connection errors: Double-check your database credentials in your configuration file. Make sure the database user has full permissions.
Email stops working: You may need to update MX records separately from nameservers. Check with your new host for the correct MX record settings.
Site loads slowly: Clear your browser cache and any caching plugins. New servers sometimes need a few hours to optimize.
When to Get Professional Help
Some migrations are straightforward, but others get complicated quickly. Consider professional assistance if:
- Your site has complex custom code or integrations
- You're moving a large e-commerce site with thousands of products
- You're not comfortable working with databases and FTP
- Your site uses multiple databases or applications
- Downtime would significantly impact your business
At O-Cyrus, we handle website migrations and hosting transitions for small businesses that need reliable, hands-off service. Our team can also help you evaluate cloud hosting options if you're looking for better performance and scalability.
Need Help With Your Migration?
Moving your website doesn't have to be a solo project. If you'd rather have experts handle the technical details while you focus on running your business, get in touch with our team. We'll make sure your site moves smoothly with zero downtime.
FAQ
How long does it take to move a website to a new host?
The actual migration process takes 2-4 hours for most small business websites. However, DNS propagation can take up to 48 hours, so plan for a total transition period of 2-3 days to be safe.
Will my site go offline during the migration?
Not if you do it right. By uploading everything to the new host before changing DNS, your site stays live on the old server until the switch is complete. There might be a brief moment during DNS propagation where some users see the old site and others see the new one, but there shouldn't be any actual downtime.
Can I move my email accounts to the new host too?
Yes, but it requires additional steps. You'll need to recreate email accounts on the new host and either forward mail from the old accounts or use an email client to transfer existing messages. Many businesses choose to keep email separate from web hosting using services like Google Workspace or Microsoft 365 to avoid this complication during migrations.
Related services
Need a hand with this?
O-Cyrus helps small businesses with websites, DNS, custom apps, and the everyday tech that keeps things running.
Talk to us →