Skip to content
Migration5 min read

How to move your website from Namecheap to ArabyHost

Short answer

Namecheap's shared hosting runs cPanel, so you can take a full backup from its Backup page, or download the files and export the database from phpMyAdmin, then recreate the site and email in ArabyHost's cPanel. After testing the new copy through your hosts file, change the nameservers under Domain List, Manage, Custom DNS in your Namecheap account, and keep the old plan until propagation finishes.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Before you start
  2. Step by step
  3. Troubleshooting
  4. On ArabyHost

According to Namecheap’s help pages, its shared hosting is managed through cPanel, which makes the move easier because ArabyHost runs cPanel too. The domain, however, is managed in your Namecheap account itself, not in cPanel. The method below moves the site and email without downtime, because the old copy keeps working until you have checked the new one.

Before you start

  • Logins for your Namecheap account and its hosting cPanel.
  • An ArabyHost hosting account with your domain added in the panel.
  • Enough free space on your computer for the backup.
  • A list of what you are moving: sites, subdomains, databases, email accounts, cron jobs and PHP version.

Step by step

1. Take an inventory

In Namecheap’s cPanel, note the domains under Domains, databases under MySQL Databases, mailboxes under Email Accounts, tasks under Cron Jobs, and the PHP version in the Software section. For WordPress, the database name and user are in wp-config.php.

2. Take a full cPanel backup

According to Namecheap’s backup article, open Files » Backup in cPanel, choose the full backup option (Download a Full Account Backup, which may appear as Full Website Backup), leave the destination as Home Directory, and click Generate Backup. When it finishes a green checkmark appears next to its name; download it to your computer. It contains your files, databases, email accounts and settings.

A full cPanel backup is normally restored in WHM with server-admin rights, so if you want it restored in one go, send it through the free migration help. If you prefer to move things yourself, follow the next steps; both approaches are explained in cPanel to cPanel migration.

3. Or download files and database separately

  • Files: in Files » File Manager, turn on hidden files under Settings, then compress the contents of public_html into a ZIP and download it.
  • Database: in Databases » phpMyAdmin, select the database, then Export » Quick » SQL » Go.

4. Save your DNS records

If the domain uses Namecheap’s default nameservers, open Domain List » Manage » Advanced DNS in your account and copy every record. If it points to Namecheap hosting, open Zone Editor in cPanel. Focus on TXT records for verification and SPF, CNAME records for outside services, and MX records if your email runs elsewhere. Namecheap’s help notes that records are not copied automatically when you switch to other nameservers.

5. Upload the files to ArabyHost

In ArabyHost’s cPanel, open Files » File Manager » public_html, click Upload, upload the ZIP, then Extract. Check that the files sit directly in public_html, and remove any .htaccess lines specific to the old server.

6. Create and import the database

In Databases » MySQL Database Wizard, create a database and a user and grant ALL PRIVILEGES, then in phpMyAdmin select the database, click Import and upload the .sql file. Update wp-config.php with the full new names, including the prefix:

define('DB_NAME', 'cpuser_wp');
define('DB_USER', 'cpuser_wpuser');
define('DB_PASSWORD', 'the-new-strong-password');
define('DB_HOST', 'localhost');

Leave $table_prefix unchanged. WordPress details are in migrating WordPress.

7. Email

  • If your email is on Namecheap hosting (cPanel): create the same addresses under Email » Email Accounts, and copy messages with imapsync or a mail client holding both accounts, as in moving email to a new host.
  • If you use Namecheap Private Email: it is a separate service from the hosting, so either keep it and copy its MX and SPF records into the DNS zone at ArabyHost, or move the mail as above.

8. Test before changing DNS

Add a line to your computer’s hosts file with the new server’s IP address (shown in cPanel’s general information panel):

SERVER_IP  example.com  www.example.com

The file is C:\Windows\System32\drivers\etc\hosts on Windows and /etc/hosts on macOS and Linux. Test pages, logins and forms; a certificate warning at this stage is normal. Remove the line when you’re done.

9. Change the nameservers at Namecheap

According to Namecheap’s article on changing DNS: sign in, choose Domain List in the sidebar, then Manage next to the domain. In the Nameservers section, pick Custom DNS from the drop-down and enter:

ns1.arabicode.com
ns2.arabicode.com

Click the green checkmark to save. Namecheap says the change can take up to 24 hours, sometimes longer. General steps are in changing nameservers.

10. Keep the old plan until propagation finishes

Don’t publish content or take orders on the old copy during DNS propagation. Sync email one last time afterwards, check the records with the DNS lookup tool, and cancel the old hosting after a few days of everything working.

Troubleshooting

  • “Error establishing a database connection”: the cPanel prefix is missing in wp-config.php or the password is the old one. See database connection error.
  • Email stopped after the nameserver change: the old mail service’s MX records weren’t copied to the new zone.
  • Google or Microsoft verification failed: the old TXT record wasn’t moved.
  • You still see the old site: the hosts file line is still there, or your DNS cache hasn’t updated.

On ArabyHost

ArabyHost runs the same cPanel you are used to, opened with one click from the Araby Panel, on LiteSpeed, which reads .htaccess rules like Apache. Free SSL is issued automatically once the domain points here, SPF and DKIM are set up automatically for email, and daily JetBackup backups start from day one. Prices are shown in your currency and the renewal price is the price you signed up at; details on the pricing page. For a side-by-side look, see ArabyHost and Namecheap compared.

FAQ

Do I have to move the domain away from Namecheap too?

No. The domain can stay registered at Namecheap while you change only its nameservers to point to ArabyHost. Transferring the registration is a separate, optional step, and extensions such as .sa and .eg aren't transferred to ArabyHost because they are registered with the accredited registrar.

I get "Error establishing a database connection" after moving from Namecheap. Why?

Usually wp-config.php still holds the database names from the Namecheap account. cPanel database names start with the account username, so enter the new full name with its prefix and the new password.

I use Namecheap Private Email. Will my email stop?

Not if you copy Private Email's MX and SPF records into the new DNS zone at ArabyHost before changing nameservers. You can move email to ArabyHost later if you want.

Can ArabyHost do the move for me?

ArabyHost offers free migration help. Start from the migration page, and have the full cPanel backup ready if you can; it makes the job easier.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.