I have created a website with a git repo and I have 2 branches (the ‘master’ and the ‘pre-launch’). I have deployed both branches but I wish to only publish the pre-launch one, which will serve as a pre-launch landing page for my client’s site. Is there a way to link the custom domain to the pre-launch one and not the master one?
The idea is to keep building the website on the master branch.
My netlify site name: hors-du-bocal.netlify.app
Hi @the-web-tailor thanks for reaching out! You can setup a branch domain which is tied to the custom domain on your client’s site; then setup a redirect to the prelaunch site.
You can change the production branch to pre-launch and deploy this as the main website. Then when ready to launch change the production branch to master and deploy.