DEV Community 👩‍💻👨‍💻

Steve
Steve

Posted on

A couple things to think about when changing domains

My business is B2B and I was using the domain overdue.io for a while but wanted a .com. overdue.com is for sale but the owner wants like $100k, I'd rather donate that to charity when I'm at the place where I can afford to drop that much on a domain name. Regardless here are a couple things to think about when changing names.

Are you keeping the old domain name and redirecting to the new one? You're going to want to set that up to report a permanent redirect which I ended up doing in nginx.

But even before that think about the services that send information to your site. Do you host an API? Do you receive webhooks from Stripe, Postmark, or somewhere else? Update those before you start redirecting as it will cause errors. Stripe and many others will re-send the webhooks if they're unsuccessful.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.