Skip to content

Easier Site Migrations: Avoiding DNS Problems with the hosts File

Over this past month, I’ve needed to migrate quite a few WordPress sites from one host to another. I can say with confidence: it’s still not my favorite process. There’s nothing that should be complex about it, but somehow there are enough moving parts that it’s never simple, and you feel on edge throughout. If you’ve ever put together a chair from Ikea, you’ll know what I’m talking about.

DIY fail chair

Today, we’ll be looking at a specific source of complications in a WordPress site migration: Domain Name System (DNS) records. We’ll talk in depth about potential DNS pitfalls in a WordPress site migration, and introduce a very helpful way to step around many of them: the hosts file.

DNS: A Quick Rundown

DNS is a massive set of recorded associations between domain names and IP addresses.

To understand DNS, it’s helpful to reflect on a couple of things:

Yay! 🎉 You made it to the end of the article!
Fred Meyer
Share:

1 Comment
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
fredclaymeyer
May 25, 2016 2:48 pm

Thanks for the update on searchreplacedb2!

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (it’s free)!