Cpanel
Follow the instruction video below to install the api domain on the video. If you have any problems, please open the ticker to ask detail here
Table of Contents
PLEASE UPGRADE NODEJS TO VERSION 16

CREATE A .HTACCESS FILE IN THE DOMAIN DIRECTORY FOR THE SERVER API

Create a .htaccess file in the domain directory for the server api
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{SERVER_PORT} !^8000$
RewriteRule ^ http://%{HTTP_HOST}:8000%{REQUEST_URI} [P,QSA,L]
</IfModule>
Download .htaccess file here >>>
CHECK THE SERVER INSTALLED SUCCESSFULLY
Check link
https://api.yourdomain.com/get_qrcode
SUCCESSFUL INSTALLATION MESSAGE
{“status”:”error”,”message”:”Authentication failed”} |
YOU CAN ALSO INSTALL CPANEL VIA IP: HERE