Skip to main content

How to minimise downtime when transferring a domain

Transferring a domain to a new host with minimal downtime requires careful planning. Here’s the best approach:

1. Choose Your New Hosting Provider & Set It Up

  • Sign up with the new hosting provider.
  • Set up your website, including files, databases, email accounts, and any necessary configurations.
  • Test the new hosting environment using a temporary URL or staging domain. This is hosting provider specific so you should check with them.

2. Lower the TTL (Time-To-Live) on Your DNS Records

  • In your current DNS settings (likely managed by your domain registrar or old host), lower the TTL value for your domain to 300 seconds (5 minutes).
  • This ensures that when you update your DNS, changes propagate quickly.
  • Do this 24-48 hours before switching hosts.

3. Complete the Migration of Your Website Files & Databases

  • If your current site has had any updates since you set up the site on the new hosting provider make sure that you transfer those updates to the new site.
  • Export and import your database if applicable.

4. Test the New Host Before Switching DNS

  • Use a hosts file modification on your local computer to test the new host before changing the domain settings.
  • 192.134.45.678 example.com
  • Ensure everything works correctly.
  • Remove the hosts file modification (very important)

5. Update Your Domain’s DNS Records

  • If you’re keeping the same domain registrar and name servers, update the A record (for website) and MX records (for email) to point to the new host.
  • If you’re transferring the domain to a new registrar, update the name servers to the new hosting provider.

6. Monitor & Verify

  • Check that the site is live on the new host.
  • Use nslookup or dig commands or an online checker to verify DNS propagation.
  • Keep the old hosting account active for 48-72 hours as a fallback.

7. Raise the TTL Back Up

  • Once everything is stable, increase the TTL back to a higher value (e.g., 3600 seconds or more) for normal operation.

Some articles published on the Joomla Community Magazine represent the personal opinion or experience of the Author on the specific topic and might not be aligned to the official position of the Joomla Project

1
2
3
4
5
6
7
EventSchedule
February Customize Backend
February Email Template
February Joomla Academy
February Mywoodlot
February Recover Article
February Web Development II
February Write Tutorial
February JQuery 2
Gets SiteView
JCB
JCB1 Custom Admin View
JCB2 Basis
January Components
January Connecting Third Party Libraries
January Floating Labels
January Happy 2025
January Web Development
March Blog Joomla
March Case Study
March Disaster
MySqlTab
SitViewCodeSuggestions
TutorialKing
Admin Tabs Custom Code
Article Menu Item
ClassDescriptionGitea
Diagram Selection Process
Joomla Extension Changlog View
Menu Templates
Selection Process Current
Starttime
EventSchedule3
Chrome OvkmdodwV6
Dashboard 01 Custom Css Example
Dashboard 02 Disable Core Extensions
Dashboard 03 Edit Layout
Dashboard 04 Images
Dashboard 05 User Dashboard
Dashboard 06 Custom Quick Icons
Dashboard 07 Admin Checklist
Fimage1
Fimage10
Fimage11
Fimage12
Fimage13
Fimage2
Fimage3
Fimage4
Fimage5
Fimage6
Fimage7
Fimage8
Fimage9
Image 20250114112645473
Image1
Image10
Image11
Image12
Image13
Image1a
Image2
Image3
Image4
Image4a
Image5 1
Image5
Image5a
Image6
Image6a
Image7
Image8
Image9
Junction Table