Closed ctm closed 1 year ago
Nope. *.craft-poker.com won't work for craft-poker.com and www.craft-poker.com gets stopped by Cloudflare, because craftpoker.com is managed by Cloudflare and craft-poker.com isn't (yet).
I switched DNS over to cloudflare, then naively thought I could use our ALB to do the work by adding a rule, but that would mean more certificate management woes, so I added code inside mb2 to detect craft-poker.com and to do the redirect there.
It seems to work.
Make it so that if anyone goes to craft-poker.com they get redirected to craftpoker.com
Since the company is Craft Poker Co. and not Craftpoker Co., it makes sense that people might think the site is craft-poker.com and not craftpoker.com, so I bought craft-poker.com. Now I need to make it so so that if someone uses craft-poker.com they get craftpoker.com.
I've already set up a cname to map *.craft-poker.com to craftpoker.com. That may be sufficient. If not, I probably need to add a few lines to mb2 to make sure it treats requests addressed to craft-poker.com the same as it does requests for craftpoker.com.