Fast Setup
Install with the built-in installer.
Secure Guide
Includes final cleanup steps.
Hosting Ready
Works with cPanel, Plesk, and Hostinger.
1. Database Creation
Before installing WAF, create a MySQL database and database user. Keep the database name, username, password, and host information ready because you will need them during installation.
1.1 cPanel
- Log in to your cPanel account.
- Open MySQL Databases.
- Create a new database and save the database name.
- Create a new database user.
- Assign the user to the database with all privileges.
1.2 Hostinger
- Log in to Hostinger hPanel.
- Go to Databases > MySQL Databases.
- Create a new database and database user.
- Copy the database details for the installer.
1.3 Plesk
- Log in to your Plesk panel.
- Open Databases.
- Click Add Database.
- Enter the database name and create a database user.
- Grant full privileges to the user.
Database Tip
Use a strong database password and never share your database credentials publicly.
2. Uploading Files
- Download the WAF ZIP package.
- Open your hosting file manager or use an FTP client such as FileZilla.
- Upload the WAF ZIP package to your root directory.
- Extract the files inside the
public_htmlfolder. - Make sure the
.htaccessfile exists after extraction.
3. Enabling Required PHP Extensions
WAF requires PHP 8.2 or later and several PHP extensions. Enable them before opening the installer.
3.1 cPanel
- Log in to cPanel.
- Open Select PHP Version under Software.
- Select PHP 8.2 or later.
- Enable the following extensions:
- allow_url_fopen
- Imagick
- Ioncube Loader
3.2 Hostinger
- Log in to Hostinger hPanel.
- Go to Advanced > PHP Configuration.
- Select PHP 8.2 or later.
- Enable Imagick, Ioncube Loader, and allow_url_fopen.
3.3 Plesk
- Log in to Plesk.
- Open PHP Settings.
- Select PHP 8.2 or later.
- Enable Imagick, Ioncube Loader, and allow_url_fopen.
4. Installation Steps
- Open your browser and visit
yourdomain.com/install/. - The installer will check your server requirements.
- Enter the database credentials created earlier.
- Provide a valid license key.
- Click Install.
- Wait until the setup process is complete.
Important
Do not close the installer while installation is running. Wait until the success message appears.
5. Default Credentials
After installation is complete, use the default administrator account below to access the admin dashboard for the first time.
Username: admin@demo.com
Password: 11223344
Security Reminder
Change the default admin email and password immediately after logging in. Do not keep the default credentials on a live website.
6. Cronjobs
Add the following cronjobs from your hosting control panel so scheduled tasks can run automatically. Replace domain.com with your real domain name.
Every five minutes
wget -q -O /dev/null https://domain.com/cron/update-price
Daily
wget -q -O /dev/null https://domain.com/cron/daily
Cronjob Tip
Some hosting panels ask for the interval separately. Set the update price cron to run every five minutes and the daily cron to run once per day.
7. Final Setup
- Visit
yourdomain.comto verify the website is working. - Delete the
/installfolder for security purposes. - Log in to your admin account using the default credentials above.
- Immediately change the default admin email and password.
- Add the required cronjobs from the Cronjobs section above.
- Review your website settings from the admin dashboard.
8. Configuring Google OAuth
- Go to Google Cloud Console.
- Create a new project or select an existing project.
- Go to APIs & Services > Credentials.
- Click Create Credentials.
- Select OAuth Client ID.
- Set the application type to Web Application.
- Under Authorized Redirect URIs, add:
https://yourdomain.com/oauth/google/callback
- Click Create.
- Copy the
Client IDandClient Secret. - Update your
.envfile.
The .env file already includes placeholders for OAuth settings at the bottom. You only need to fill in the values.
GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret
Save the file after updating the values.
9. Installing on Hostinger hPanel
The following steps explain how to perform a complete WAF installation on Hostinger using hPanel.
- Open Hostinger hPanel and select the domain you want to use.
- Go to Files > File Manager.
- Enter the
public_htmlfolder. - Upload the WAF ZIP file you downloaded earlier.
- After the upload is complete, right-click the ZIP file and click Extract.
- Go to Databases > MySQL Databases.
- Create a database name, database user, and password.
- Save the database details for installation.
- Go to Advanced > PHP Configuration.
- Select PHP version 8.2 or later.
- Enable the required extensions:
- Imagick
- Ioncube Loader
- allow_url_fopen
- Open your browser and visit
https://yourdomain.com/install/. - Fill out the installation form using your database details.
- Enter your license key.
- Proceed with the installation.
- After successful installation, delete the
/installfolder. - Log in with the default admin credentials, then change the admin email and password.
- Add the required cronjobs from your hosting cronjob manager.
- Visit your domain to confirm the website is active.
Installation Complete
Your WAF website is now ready. You can continue by configuring offerwalls, ads, payment methods, and website settings from the admin dashboard.