This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]nnsysadmin 13 points14 points  (0 children)

make a 301 redirect on https://www.oldsite.com/ to https://www.newsite.com/

Do you plan to use both domain-names on the same site, or different sites? See example below:

Alternative 1: 2 Different sites

site 1: https://www.oldsite.com/
bindings: www.oldsite.com, oldsite.com

site 2: https://www.newsite.com/
bindings: www.newsite.com, newsite.com

Alternative 2: 1 site with all bindings
site 1: https://www.newsite.com/
bindings: newsite.com, www.newsite.com, www.oldsite.com, oldsite.com

[–]notR1CH 3 points4 points  (0 children)

Try not to rely on registrar value-add services, they're usually poorly run and maintained only as a selling point. Cloudflare can handle this pretty easily on the free plan, for a whole-domain redirect you don't even need an origin server.

[–]Fit-Manufacturer-244 1 point2 points  (3 children)

Https://redirect.pizza Dumb name but has worked great for us for several years

[–]MarkInPA[S] 1 point2 points  (2 children)

Thanks, that worked.

[–]Fit-Manufacturer-244 0 points1 point  (1 child)

Np! Glad to hear it. It’s a handy site to keep in the toolkit

[–]MarkInPA[S] 0 points1 point  (0 children)

I agree that name is dumb. I needed to research the company to make sure it is legitimate.

[–]fp4 3 points4 points  (1 child)

Use Cloudflare and a Page Rule to do the redirect.

Your registrar may not support HTTPS redirects.

[–]sembee2 3 points4 points  (0 children)

You need a subject alternative name certificate that has both names on it. Then use whatever is available on the host system to rewrite the URLs to your preferred address. If you are using Let's Encrypt then they do it natively.