Installation API Domain
Installation API Domain for Aapanel (Nginx)
Download whatsapp_server.zip file
Create Api domain and connect them to your Server IP Address
Ex: api.yourdomain.com
Please set up SSL for Api domain
Please watch the video tutorial
API Domain Configure
Please insert code below into your API Domain
location / { proxy_pass http://localhost:8000; #whatever port your app runs on proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; }
Please watch the video tutorial
Create a directory in the root folder to upload “whatsapp_server.zip”.
To ensure the safety and security of the system, please place the file in the root directory.
Config Database for API Domain
Important: Set up a common database with Stackposts Main Script, Do not create another database for the module.
Install Nodejs version manager 1.6
The current version is fully compatible with nodejs 16 and working smoothly.
Install Cronj
Please create Cron according to the instructions
Cron: Once/minute:
sh -c $(cd /root/wa_server && node app)
/root/wa_server: is the path to the server.zip installation directory
Open PORT 8000
Please open port 8000 according to instructions
To switch the port to Listening state, you need to complete the following steps:
- Install server domain
- Install Nodejs version manager 1.6
- Install Cronj
Check the working status of the api domain
Please check the link
Please check the link
https://api.yourdomain.com/
{"status":"success","message":"Welcome to WAZIPER"}
Please check the link
https://api.yourdomain.com/get_qrcode
{"status":"error","message":"The Instance ID must be provided for the process to be completed"}
WhatsApp API Configure & Check Qrcode
Api domain set up correctly
Correct setting
https://api.yourdomain.com/
Wrong setting
https://api.yourdomain.com
http://api.yourdomain.com/
api.yourdomain.com
and more….
Set up Cronj according to the daily cycle
sudo kill -9 $(sudo lsof -t -i:8000)
Installation API Domain for Aapanel ( Apache2)
Download whatsapp_server.zip file and upload to server
Create Api domain and connect them to your Server IP Address
Ex: api.yourdomain.com
Please set up SSL for Api domain Please watch the video tutorial
API Domain Configure
Insert code below into your API Domain: Please check that you have inserted the code at 2 places as instructed
<Location /> ProxyPass http://127.0.0.1:8000/ ProxyPassReverse http://127.0.0.1:8000/ </Location>
Please watch the video tutorial
Create a directory in the root folder to upload “whatsapp_server.zip”.
To ensure the safety and security of the system, please place the file in the root directory.
Config Database for API Domain
Important: Set up a common database with Stackposts Main Script, Do not create another database for the module.
Install Nodejs version manager 1.6
The current version is fully compatible with nodejs 16 and working smoothly.
Install Cronj
Please create Cron according to the instructions
Cron: Once/minute:
sh -c $(cd /root/wa_server && node app)
/root/wa_server: is the path to the server.zip installation directory
Open PORT 8000
Please open port 8000 according to instructions
To switch the port to Listening state, you need to complete the following steps:
- Install server domain
- Install Nodejs version manager 1.6
- Install Cronj
Check the working status of the api domain
Please check the link
https://api.yourdomain.com/
{"status":"success","message":"Welcome to WAZIPER"}
Please check the link
https://api.yourdomain.com/get_qrcode
{"status":"error","message":"The Instance ID must be provided for the process to be completed"}
WhatsApp API Configure & Check Qrcode
Api domain set up correctly
Correct setting
https://api.yourdomain.com/
Wrong setting
https://api.yourdomain.com
http://api.yourdomain.com/
api.yourdomain.com
and more….
Set up Cronj according to the daily cycle
sudo kill -9 $(sudo lsof -t -i:8000)
Installation API Domain for Cpanel
Download whatsapp_server.zip
Create Api domain and connect them to your Server IP Address
Please watch the video tutorial
API Domain Configure
Create a directory in the root folder to upload whatsapp_server.zip
Important: Set up a common database with Stackposts Main Script, Do not create another database for the module.
Please watch the video tutorial
Setup Nodejs
Please watch the video tutorial
Install Application Manager
Please watch the video tutorial
Connect api domain to port 8000
Create file.htaccess and upload to api domain directory
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{SERVER_PORT} !^8000$ RewriteRule ^ http://%{HTTP_HOST}:8000%{REQUEST_URI} [P,QSA,L] </IfModule>
Please watch the video tutorial
Check the working status of the api domain
Please check the link
https://api.yourdomain.com/
{"status":"success","message":"Welcome to WAZIPER"}
Please check the link
https://api.yourdomain.com/get_qrcode
{"status":"error","message":"The Instance ID must be provided for the process to be completed"}
WhatsApp API Configure & Check Qrcode
Please watch the video tutorial
Api domain set up correctly
Correct setting
https://api.yourdomain.com/
Wrong setting
https://api.yourdomain.com
http://api.yourdomain.com/
api.yourdomain.com
and more….
Set up Cronj according to the daily cycle
sudo kill -9 $(sudo lsof -t -i:8000)
Installation API Domain for Plesk
Add api domain
Add api domain and install SSL/TLS Certificate for api.yourdomain.com
Node.js extension – Plesk
The current version is fully compatible with nodejs 16 and working smoothly.
Upload the whatsapp_server.zip file to the server
Install nodejs for api domain
Check the working status of the api domain
Please check the link
https://api.yourdomain.com/
{"status":"success","message":"Welcome to WAZIPER"}
Please check the link
https://api.yourdomain.com/get_qrcode
{"status":"error","message":"The Instance ID must be provided for the process to be completed"}
WhatsApp API Configure & Check Qrcode
Api domain set up correctly
Correct setting
https://api.yourdomain.com/
Wrong setting
https://api.yourdomain.com
http://api.yourdomain.com/
api.yourdomain.com
and more….
Set up Cronj according to the daily cycle
sudo kill -9 $(sudo lsof -t -i:8000)