Hello,
I’ll be using fake build name and fake domain names in that post on purpose. The real domain names are part of an online treasure hunt and I don’t want to share the links here. Happy to provide them to support in private, though.
Last week I deployed a treasurehunt
project to Netlify. I configured the custom domain alpha.com
to point to it. It worked really well.
Now this week I need to build another treasure hunt, with very similar content, but on a different domain name (beta.com
). I enabled branch deploys on my account, created branches alpha
and beta
. This gave me access to alpha--treasurehunt.netlify.com and beta--treasurehunt.netlify.com domains.
I went to my treasurehunt
project and removed alpha.com
from the custom domains. I then went to my alpha.com
domain and added a new ALIAS
to alpha--treasurehunt.netlify.com
. I expected this to now correctly point alpha.com
to the branch deploy.
But this does not seem to be working (all I have is a blank page with Not found
), and I wonder if this is because I still have two NETLIFY
entries in my DNS panel as shown here:
Is this the right way to have several domains pointing to different branches of the same project?