Docs Menu

Enable Hostingicons/link.png

On this page

  • Overview
  • Procedure

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.

Enable hosting from the UI with the following procedure:

1

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

2

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

Note

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.

On this page

Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.