# cPanel

> We made our script as easy to install on **cPanel** on your favourite hosting provider.

First login to your **cPanel** dashboard.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2FoOsUnVwyvQoA2uXq2Rz0%2FcPanel.png?alt=media&#x26;token=45a36d83-fe79-45b2-9cd9-fa5dcb6b2866" alt=""><figcaption></figcaption></figure>

After you successfully login to your dashboard, go to **File Manager**.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2FNmlzGlHkSAeJSSblkynC%2Fsdfdsf.png?alt=media&#x26;token=173e0cbf-e628-4ba5-9711-b17e4706c5df" alt=""><figcaption></figcaption></figure>

Click on File Manager. It will open a new window like below.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2Fs8J3nLqB23XhsucYjxVU%2Fsfsdfsfsdf.png?alt=media&#x26;token=ae509787-9652-4e47-afd9-ead4f0425c97" alt=""><figcaption></figcaption></figure>

On the **public\_html** folder on the left side, select the folder, and click the **Upload** button on the top.

Now it will open a new window to upload your script file.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2FeztBc2ZaO1bkB8aVreDe%2Fdwqewqeqweqweqwe.png?alt=media&#x26;token=c7f29378-6b90-493f-9b6a-36494fa63666" alt=""><figcaption></figcaption></figure>

Now click Select File button and upload the **cPanel\_Domain\_Hub.zip** file inside the script folder you have downloaded from CodeCanyon.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2FoYqk176jL7oH08JwWBhd%2Fewrwerwerwerwe.png?alt=media&#x26;token=88ea6056-10d3-47cb-904b-9c255758cb67" alt=""><figcaption></figcaption></figure>

Upload the zip file.

After successfully uploading the file, back to the file manager. Reload the file manager. And you will see the zip file there.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2Fz1E4BPGtJtsyCpvSpQ91%2F24242ewr.png?alt=media&#x26;token=0a43bf46-4ab0-477c-80c3-cf31781c9153" alt=""><figcaption></figcaption></figure>

Right click and **extract the zip file here**.

Now back to your cPanel dashboard. And go to the Software tab. Click on <mark style="color:purple;">**Setup Node.js App**</mark>.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2FuhNASdvtYAncnpL8nTTT%2Fes3432erw.png?alt=media&#x26;token=2f15b3c9-abde-4905-b568-9535334f3990" alt=""><figcaption></figcaption></figure>

It will open a new page like below.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2FR8SsniUYFMaMQsw3liFi%2Fes23423edfs.png?alt=media&#x26;token=f0b14a41-4f8b-4069-bc62-90516d7fbd29" alt=""><figcaption></figcaption></figure>

Click <mark style="color:blue;background-color:blue;">**CREATE APPLICATION**</mark> Button. You will see a page like this.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2F6Vb45m0eKXXvyrVY5XH4%2Feqrw234dfs.png?alt=media&#x26;token=bce7975a-317f-4920-95aa-7f3e3de59303" alt=""><figcaption></figcaption></figure>

Please fill in all the details as you see on the above image.

* Nodejs version: **18.16.0**(recommended)
* Application Mode: **Production**
* Application root: **public\_html/cPanel\_Domain\_Hub**
* Application URL: select your domain you want configured with the script.
* Application startup file: **server.js**

Double check if everything is okay. Now click <mark style="color:blue;">**CREATE**</mark> button.

You will see two new options like below.

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2Fc7yg9VSePh7tIlmz2Sfd%2Fsdfsdf32re.png?alt=media&#x26;token=f27b61a5-74cb-4be9-b939-533f5efc34cb" alt=""><figcaption></figcaption></figure>

1. Click <mark style="color:blue;">**Run NPM Install**</mark> button
   1. It will take some time.
2. Click <mark style="color:blue;">**Run JS script**</mark>
   1. It will show you some options like below

<figure><img src="https://2809825065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctgAYKPuP7Zje0L0Z7ya%2Fuploads%2FxgDWwVAk202YzEipgNPo%2Fasdasdasdasdwq.png?alt=media&#x26;token=74887d40-024f-4461-9bf7-4206e045d05f" alt=""><figcaption></figcaption></figure>

Choose the start option and click **RUN JS SCRIPT**. It takes some time to start the script on your server.

That's it.

After completing the installation, you can now visit your domain now.
