Workflow
How do I migrate my website to a new host?
Moving your website to a new host means cloning your files and database, testing on the new server behind a staging URL, then updating DNS. The key is syncing everything before the final switch to avoid downtime. Follow these hosting migration steps, and see how AI agents and custom actions can handle the repetitive parts of your move.
Step 1: Backup and inventory your current site
Before you transfer website hosting, create a full backup of all site files and the database. Audit every component: custom themes, plugins, media uploads, cron jobs, and any external service connections. A clean inventory ensures nothing gets left behind when you move to the new host.
Step 2: Clone your site to the new hosting environment
Restore your backup on the new server and assign a temporary staging URL. Verify that all configurations match the new environment (PHP version, database credentials, file permissions). Sync the content one final time right before the cutover so the live site is current.
Step 3: Test exhaustively, then repoint DNS
Browse the staging site and run through core user workflows. Check forms, payments, and SSL certificates. When you’re confident, switch the DNS A record to the new host’s IP address. Keep the old server running for a few days to answer any cached requests.
Step 4: Use AI agents to handle repetitive migration questions
Set up a Chatref agent trained on your migration docs, backup procedures, and DNS checklists. During the hosting migration, team members and stakeholders can ask the agent “How do I roll back?” or “What’s the current DNS TTL?” and get answers grounded in your own content. It saves your engineers from repeating the same steps.
Step 5: Automate tasks with custom actions
Chatref’s custom actions can trigger your own tools directly from the chat. For example, you can wire up an action to run a database export script, flush the CDN cache, or dispatch a notification to Slack when DNS propagates. This keeps the move site to new host process moving without constant manual intervention.
FAQ
How to migrate website without downtime?
Pre-migrate all content to the new host and run it on a staging URL. Sync changes continuously until you’re ready to cut over. Lower the DNS TTL early so the IP switch propagates within minutes, not hours. Test the new site thoroughly before zero-hour, then redirect traffic while keeping the old server as a live fallback.
What are the steps to transfer a website?
- Backup files and database from the old host.
- Restore the backup on the new server and assign a temporary URL.
- Adjust configuration files and test everything.
- Sync any final content changes.
- Update DNS and monitor the transition.
You can document each hosting migration step in a knowledge base and let an AI agent answer team questions along the way.
Can I automate my site migration?
Partial automation is achievable. You can script backups, database transfers, and DNS updates. With Chatref, custom actions let you trigger those scripts from a chat interface, so the team can initiate a pre-migration sync or cache flush without logging into servers. Full unattended migration still requires careful orchestration, but automating repetitive tasks significantly reduces human error and time.
Put this into practice
Chatref answers your customers from your own content, day and night. Add it to your site and go live in minutes – free to start.