Skip to content

MongoDB

Document databases with GridFS for hosted applications.

Who can use this page? As for [Databases overview](/databases/overview).

Create

  1. Databases → New Database → MongoDB
  2. Name the database
  3. Link a site (recommended)
  4. Keep automatic environment variables on

NitHost always provisions an application user, generating any omitted username/password securely.

One-time connection URI

The creation success panel displays the complete URL-encoded connection URI once. Copy it before dismissing.

Defaults when linked:

KeySensitivityWhen
MONGO_URL (configurable key)SensitiveRuntime only
DB_NAMENot sensitiveRuntime only

Existing site variables are never overwritten — resolve collisions or turn off auto variables and paste manually.

Why credentials are one-time

NitHost intentionally does not retain database-user passwords for re-display. If the password was not saved in your authorized application configuration, change the database user password and update the application connection.

Backups

Site backups include linked MongoDB databases (including GridFS collections) via compressed mongodump archives. Restorable from the Databases page.

If a restored application cannot connect, check its connection settings and contact NitHost support before changing or recreating its database user.

Customer documentation · Nusite IT Consulting Limited