Follow this guide to deploy the SigmaDocs Next.js frontend and Express.js CMS backend on a cPanel hosting server.
If your cPanel does not include Setup Node.js App or Application Manager, refer to the NO_NODE_MANAGER_DEPLOY.md guide included with the package.
Upload cms-backend-cpanel.zip through cPanel File Manager and extract it into your application folder.
/home/YOUR_CPANEL_USER/public_html/src/
database/
scripts/
postman/
ecosystem.config
.htaccess.passenger
app.js
package.json
package-lock.jsonUpload cms-frontend-cpanel.zip through cPanel File Manager and extract it into the public_html folder.
/home/YOUR_CPANEL_USER/public_html/index.html
404.html
[...slug]/
admin/
_next/
images/
favicon.ico
favicon-*.png
apple-touch-icon.png
android-chrome-512x512.png
mstile-150x150.png
.htaccess
robots.txtCreate a new MySQL database before opening the SigmaDocs browser installer.
Log in to cPanel and open MySQL Databases.
Create a new database. For example, you can use cpaneluser_docs.
cpaneluser_docsCreate a new database user or assign an existing database user.
Add the database user to the database and enable All Privileges.
Keep the database name, database username, and password ready. You will need them during the browser installation.
Use either Application Manager or Setup Node.js App, depending on the option available in your cPanel account.
Skip this section and follow NO_NODE_MANAGER_DEPLOY.md if your hosting account does not provide a Node.js application screen.
Open Application Manager in cPanel and click the Register Application button.

Application Name: api
Deployment Domain: Select your domain
Application Path: Select the public_html folder
Deployment Environment: ProductionClick the Deploy button. After the application is registered, open it and click Ensure Dependencies.
Your SigmaDocs Express.js backend should now be running on the selected domain or application URL.
If your cPanel provides Setup Node.js App, create a new application using the following configuration.
Node.js version: 20.x or 22.x
Application mode: Production
Application root: public_html
Application URL: Your domain, API subdomain, or application path
Application startup file: app.jsClick Create and wait for cPanel to register the application. Your SigmaDocs backend should now be live.



The SigmaDocs frontend package contains a statically exported Next.js application. The frontend files can be served directly from public_html while Express.js handles API and admin requests.
Make sure the included .htaccess file remains inside public_html. It manages frontend routes, static files, API requests, and admin panel routing.
Do not delete or overwrite the included .htaccess file unless you understand the Apache routing configuration.
After the Express.js application starts successfully, open the following URL in your browser.
https://yourdomain.com/api/installThe installer will verify the server, request your database credentials, import the database schema, create the administrator account, generate the required application secrets, and write the .env configuration file.
For security, the installation page becomes unavailable after SigmaDocs has been successfully installed.
After completing the installation, use the administrator account created during setup to sign in.
https://yourdomain.com/admin/loginSigmaDocs is now installed on your cPanel server. You can sign in to the admin dashboard, configure your website settings, create documentation categories, and start publishing articles.