Choose your ReactJS hosting type
99 / mon
149 / mon
Advantages of ReactJS server from HostingRaja
- Get ready to use ReactJS within a minute
- Setup ReactJS with a single click
- Deploy multiple ReactJS applications with different ports
- Get a user-friendly UI interface
- Our ReactJS permits automatic domain mapping for your applications
- Without using command lines get a fully manageable GUI
- Nodejs provides support to DBMS like MongoDB
- ReactJS application setup and support
- Start and Stop your ReactJS application with complete GUI
Following steps needs to be followed to get started with ReactJs server.
How to use React JS?
- Login as a root user using SSH. You can refer to your welcome email to check the root username and password.
- Run the below command to install nodejs
sh /scripts/nodejsinstallation.sh to install the desired version of the nodejs.
It will show the prompt like below, enter the needed option.
And run the below command for install create-react-app and serve tool
npm install -g create-react-app
npm install -g serve
After the installation login to the ovipanel UCP account
click node js module
i) If you create a website from scratch , select the domain and enter the port no which you want
After the installation process, you can see the list of Nodejs configuration.
Click the terminal icon to see the options.
Stop icon needs to be clicked to stop the application using nodejs module.
By default it runs as a nodejs so we have stopped using reactjs.
ii) Login as a root and run the below command on your folder
Example: cd /home/USERNAME/Folder1
npx create-react-app my-app
The above command install the react js under the folder my-app
Then run the below command
npm run build
And run the below command
pm2 serve build 3000 --spa --name $domain_name --user $username --uid $username --gid $username --error /var/sentora/logs/nodejs/$username/$domain_name-node-error.log --output /var/sentora/logs/nodejs/$username/$domain_name-node-out.log
pm2 serve build 3000 --spa --name demoreact.com --user demoreact --uid demoreact --gid demoreact --error /var/sentora/logs/nodejs/demoreact/demoreact.com-node-error.log --output /var/sentora/logs/nodejs/demoreact/demoreact.com-node-out.log
If you want to check the out / Error log use our pm2 log module
i) Login to UCP account and click pm2 log module
ii) based on the domain name selection and log type log will be visible
Features in React Js server.
Easy App Installation - We provide a step by step guide from where you can get started easily and create your app.
Different Versions - Different versions of React JS are available. In VPS, Cloud and Dedicated hosting packages, you can select the versions between node js 10 to 14 and utilise our lightning fast servers.
Uptime Guarantee - Guaranteed Uptime - You will be given a 99.99% guaranteed uptime. PM2 is used that will help in managing and keeping the applications online 24/7.
Package Installation - Modules can be installed according to the requirements. If there is any assistance required in installation of modules you can always contact our support staff.
i) Domain and port mapping is not required in apache server.
ii) We provide a user friendly log viewer.
June 15, 2021
We rely massively on HostingRaja for our four business websites. Among those things, we require one ReactJs server for our business purpose. We had some installation issues in rpm, and they immediately helped me to sort out my issue and Whenever there are issues, their response time is very quick. We've been very happy with the tech support calls we've made in the past and look forward to their continued support.
May 02, 2021
Once again HostingRaja has come to our rescue. We have been with HostingRaja for six years and have been very impressed with both their up-time as well as the skill of their support services. We had been facing some trouble while installing an SSL certificate on one of our websites with React.Js hosting and the issue got fixed so fast. Keep up your work Guys..!