Enable Hosting

You need to enable static hosting for your application before you can upload and access content. You can allow static hosting from the Realm UI or by importing an application directory that enables hosting in its configuration file. Select the tab below that corresponds to the method you want to use.

Select a tab below to see instructions on enabling static hosting for the corresponding method.


To open the hosting configuration page, click Hosting in the left navigation menu of the Realm UI.


On the Hosting configuration page, click Enable Hosting. MongoDB Realm will begin provisioning hosting for your application.


It may take a few minutes for MongoDB Realm to finish provisioning hosting for your application once you've enabled it. You can upload content to MongoDB Realm immediately, but you will need to wait for provisioning to complete before MongoDB Realm serves your files.

Give Feedback