How to disable public access to a staged discourse instance

Hi.

We’re planning to use discourse own cloud hosting for our production system.
Is there a way to stage it completely for management approval, but close it for publicity?

Best,
Luis

2 Likes

You could have it a private Discourse by invitation only. Then you send invitation emails to only those you wish to have in it. It will be private and no one will be able to access it. Web crawlers also will not be able to crawl the site. But what I did for my domain is not to set up a homepage. If a crawler (or anyone) goes to the domain name they only see a blank white default page. Just as my forum is set up. :slightly_smiling_face:

2 Likes

The simple way is to make the site invite only and login required as suggested already.

Another way would be to modify app.yml to reconfigure nginx to use basic authentication and/or limit by IP.

7 Likes

How do I modify the app.yml on a discourse managed cloud instance?
Can’t find any way to access a cli.

You need to reach out to your hosting provider in that case. If it’s us (discourse.org), shoot an email to us at team@discourse.org.

3 Likes

Did that.
Thank you, Joshua.

3 Likes