Skip to main content

Your privacy

We store what the site needs to work, like a notice you closed or your domain shortlist. With your OK we also use Google Analytics to see which pages help people, and the Meta Pixel to measure which of our adverts work. Privacy policy

Serverlys
Domains & DNS

Lower your TTL before a migration

The one preparation step that turns a day of split traffic into minutes.

All Domains & DNS tutorials5 stepsAbout 5 minutes

Before you start

  • Access to your domain's DNS, at least a day before you move
  1. Step 1: Find out what your TTL is now

    TTL is how long resolvers are allowed to cache a DNS answer, in seconds. 3600 is an hour; 86400 is a day. Whatever it says, that is how long some visitors will keep reaching your old server after you change anything.

  2. Step 2: Lower it to 300

    Set the TTL on the records you will be changing — usually A and CNAME — to 300 seconds. Do not change the record values yet, only the TTL.

    TTL: 300
  3. Step 3: Wait one full old TTL

    If it was 86400, wait a day. Resolvers holding the old answer also hold the old TTL, and they will not learn about the shorter one until their existing cache expires. Lowering the TTL an hour before a migration achieves nothing.

  4. Step 4: Do the migration

    Now the change propagates in about five minutes rather than a day, which means the window where some visitors see the old site and some see the new one is short enough not to matter.

  5. Step 5: Put it back afterwards

    Once you are happy, raise it to 3600 or higher. A permanently low TTL means more lookups for every visitor and slightly slower first connections.

The mistake people make

Lowering the TTL and migrating the same afternoon. The old TTL is still cached, so the change takes exactly as long as it would have anyway.

Stuck on something not covered here?

Support is included on every plan, and it reaches a person. There is also the blog for the why behind these, and the FAQ for questions about buying.

Get help

A plan that still makes sense in year two

Free migration, free SSL and daily backups on every plan, with a 30-day money-back guarantee.

Prefer the phone? (305) 671-1272 · Existing customer? Client login