Confused about 301 redirects after changing domain

If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be closed.

If you aren’t running the latest version of Ghost, the first thing we will ask you to do is update to the latest version of Ghost.

  • What’s your URL? www.sambeckbessinger.com
  • What version of Ghost are you using? Ghost Pro (locally, I’m on 4.3.3, and Ghost-CLI 1.16.3 - but that’s not where I’m running into issues)

And

  • How was Ghost installed and configured? I am using Ghost Pro
  • What Node version, database, OS & browser are you using? n/a
  • What errors or information do you see in the console? n/a
  • What steps could someone else take to reproduce the issue you’re having?

Hi gang! I’m using Ghost Pro. I initially had two websites:

  1. likeafuckinggrownup.com, my ghost(pro) site
  2. sambeckbessinger.com, a static site run off Netlify

In both cases, I’m using Netlify to manage my DNS.

I decided to consolidate on sambeckbessinger.com. I’ve changed the Ghost(Pro) custom domain and sambeckbessinger.com is working great. But there’s a big 404 error on likeafuckinggrownup.com.

I’d like to set up 301 redirects to send all likeafuckinggrownup.com traffic to sambeckbessinger.com. I have NO idea how to do that - the redirects.yaml file only seems to redirect internally on the same base domain.

Does anyone know what I should be doing to fix this? Thanks so much for your help!

You should reach out to Ghost (Pro) support since they can give you more specific advise :slight_smile:

That being said, the reason your old site is getting a DNS error is because there’s nothing being hosted from Ghost (Pro)'s point of view. So adding redirects to your new site won’t do anything because the old site never talks to the new one.

You could host your old website on Netlify and add a redirect rule that redirects all traffic to your new one - Sites with multiple domains | Netlify Docs, or Ghost (Pro) support might be able to either do it for you or get you on the right track

Thank you for the very helpful response! I’ll try that. You’re the best!

1 Like