Docs Menu

Docs HomeAtlas App Services

Enable Hosting

On this page

  • Overview
  • Procedure

Important

Static Hosting Requires a Paid-Tier Atlas Cluster

To enable static hosting, you must have a paid-tier (i.e. M2 or higher) Atlas cluster linked to your app as a data source. For more information on Atlas cluster tiers, see Create a Cluster.

You need to enable static hosting for your application before you can upload and access content. You can enable static hosting from the App Services UI.

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 App Services UI.

2

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

Note

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

←  Host Files [Deprecated]Configure File Metadata →

On this page