Protecting the main page of a Pages deployment

Hey there! I’m trying to set up an internal documentation site on Pages. I can configure protection for somepreviewdomain.mainsite.pages.dev, but is there a way to configure the same protection for mainsite.pages.dev?

Follow this guide:

https://developers.cloudflare.com/pages/platform/known-issues/#enabling-access-on-your-pagesdev-domain

You should be able to setup Access on anything you want - preview, production & custom domains.

3 Likes

sliiiiiiiiiick, thank you so much. That page escaped my search terms somehow!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.