Migration·

Migrating to DeployHub

How to migrate your existing applications to DeployHub

Migrating Your Applications to DeployHub

Migrating to DeployHub is straightforward. Here's a step-by-step guide.

Step 1: Prepare Your Repository

Ensure your repository is ready for deployment:

  • Make sure your build command is configured correctly
  • Test your build locally
  • Ensure all dependencies are in package.json

Step 2: Create a New Project

  1. Go to deployhub.com/signup
  2. Click "New Project"
  3. Connect your repository
  4. Configure build settings

Step 3: Configure Environment Variables

Add your environment variables in the project settings. This includes:

  • API keys
  • Database connections
  • Third-party service credentials

Step 4: Test with Preview Deployment

Before migrating traffic, create a preview deployment to test:

  • Push a test branch
  • Verify the deployment works
  • Test all functionality

Step 5: Add Custom Domain

If you're migrating from another provider:

  1. Add your domain to DeployHub
  2. Update DNS records (keep TTL low during migration)
  3. Verify SSL certificate is provisioned

Step 6: Migrate Traffic

Once everything is tested:

  1. Update DNS records to point to DeployHub
  2. Monitor traffic during migration
  3. Keep old deployment running for a few days as backup

Step 7: Verify and Optimize

After migration:

  • Check analytics for any issues
  • Optimize performance settings
  • Set up monitoring alerts

Framework Specific Tips

Next.js

  • Ensure next.config.js has correct output settings
  • Use output: 'standalone' for optimal performance

Nuxt

  • Use nuxt build as the build command
  • Configure runtimeConfig for environment variables

Gatsby

  • Build command: gatsby build
  • Output directory: public

Migrating to DeployHub is designed to be seamless. If you need help, our support team is available!

Powered by DeployHub • © 2026