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)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

Best practices for optimal infrastructure performance with Magento

Running a Magento store? Struggling with performance bottlenecks? Join us and get actionable insights and real-world strategies to keep your store fast and reliable.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️