Search code examples
databasemongodbcpanelshared-hosting

How to Connect mongodb to cpanel shared server


Dears, I recently got my hands on a shared server ran by cpanel, and I want to host a mern stack app on it, is it possible to configure mongodb using it?


Solution

  •  Currently cPanel does not support mongodb so you should read this thread.

    In order to deploy an application with these characteristics it is recommended to use Node.js since it has the necessary compatibility (mongodb driver).

    Read this article (optional): How to Configure and Deploy CloudLinux’s Node.js.