Skip to main content

Standalone

This guide will help you install our Quizix on cPanel. You can use this guide to install our Quizix on cPanel. If you have any questions, please contact our support team.

danger

Note: We do not recommend installing our Quizix on cPanel as Standalone. So can use vercel or netlify or other platform like AWS, Digital Ocean, Azure, VPS. Or you can follow the static export method.

Prerequisites

Before you start, make sure you have the following installed on your cPanel:

  • Ensure that the cPanel is Support node.js and version is 22 or higher, this is recommended for next.js if you are installing on cPanel.

Backend Installation

Step 1: Upload the Files

  1. Extract the Quizix Project that you have downloaded from CodeCanyon.

  2. On that folder you will find another 2 folders called documentation and core folder.

  3. Extract the core folder and now you will get two zip files called admin.zip and standalone-client.zip on core folder.

  4. Now upload the admin.zip in your cPanel.

Step 2: Upload Process

  1. Login to your cPanel.

  2. Navigate to the Files Manager section.

cpanelUpload1

  1. Select public_html folder.

cpanelUpload2

  1. Upload the zip file to the public_html folder. for example: /public_html//quiz/client.zip

cpanelUpload3

  1. Extract the zip file.

cpanelUpload4

Step 3: Setup Node.js Application

  1. Go to the cPanel root page and click on the "Node.js" section.

cpanelUpload5

  1. Click on the "Add Application" button and then click on the "Create Application" button.

cpanelUpload6

  1. Create an application name and then click on the "Create" button.

Before you click on the "Create" button, you need to follow the instruction.

  1. Select the Node.js version. 22 is recommended.
  2. Application mode as production.
  3. Application root address as /public_html/quiz. In this quiz folder you have to put the client file.
  4. Select application domain as quizix.com. Which main domain.
  5. enter application startup file as,
node_modules/next/dist/bin/next
  1. Now add all the required environment variables. For example,
NEXT_PUBLIC_API_BASE_URL=http://127.0.0.1:8000 #replace with your api base url
NEXT_PUBLIC_TOKEN_NAME=token #replace with your token name
NEXT_PUBLIC_BASE_URL=http://localhost:3000 #replace with your base url
  1. Click on the "Create" button.

cpanelUpload7

  1. Install the dependencies by running the following command:

    follow the below steps to install our quizix project.

    cpanelUpload8

Now if the application is installed successfully, then you can serve the application from you main domain.

Conclusion

All the required steps are completed then you will be able to serve your application from your main domain. But cPanel not familiar with next.js, So we recommend if you face any problem then upload it on vercel and it is very easy also can upload netlify. Further you can contact our support team.