Database setup
Documentation · Own Ebook self-hosted
Use your own Atlas account and a dedicated, initially empty MongoDB replica-set database. Transactions are required for wallet and payment operations. Create a database user with readWrite scoped only to that database. Keep the database name identical in its privileges and the installer.
Provide the Drivers connection template, database-user password and database name to the installer. Credentials are saved in the protected backend environment file, never in a public web directory. No vendor database, users, books, payment records or provider keys are included.
Two separate network permissions
- Atlas IP Access List: add the public egress IP actually used by the hosted application. It may differ from the domain or panel’s Shared IP; confirm it with the provider. Use
/32for one IPv4 address. - Hosting firewall: the provider must allow outbound TCP 27017 to Atlas nodes and working DNS/SRV resolution. You do not need inbound MongoDB access from the internet to your web server.
Add Current IP Address is optional: it is for connecting from your computer through Compass or similar tools. It does not replace the hosting egress entry and is not a prerequisite for the hosted website. Keep TLS verification enabled. See Atlas IP Access List documentation.
The measured 63.250.32.101/32 example belongs to the reviewed myaton.shop account; it is not a universal value. That account’s provider-specific service allows the public addresses of the Atlas nodes chosen by its owner. This is hosting configuration, not an automatic feature in every distributed Own Ebook copy.
A successful basic hosting check does not verify your database or license. Enter and test your own connection during setup. Retain an interrupted installation’s state for review rather than deleting data to retry.
All topics
- العربية: تثبيت الاستضافة المشتركة بالصور
- Start here: 6 simple steps
- Will my hosting work?
- System requirements
- How to install
- Database setup
- License activation
- Production and development installations
- Moving to a new domain
- Reissue
- Updating Own Ebook
- Backup and rollback
- Common installer errors
- Common license errors
- Support