Guides

VisionLayer User Guide

Welcome to the VisionLayer User Guide! This section provides comprehensive tutorials to help you set up and manage various services such as WordPress, WhatsApp API, MikroTik routers, Dedicated Servers, and Virtual Private Servers (VPS).


1. Installing WordPress on VisionLayer Hosting

Follow these steps to install WordPress on your VisionLayer hosting account.

Step 1: Download WordPress

  1. Go to the official WordPress website.
  2. Download the latest version of WordPress.

Step 2: Upload WordPress Files

  1. Access your hosting control panel via FTP or File Manager.
  2. Upload the WordPress files to the public_html directory.

Step 3: Create a Database

  1. Log in to your VisionLayer hosting control panel.
  2. Navigate to Databases > MySQL Databases.
  3. Create a new database and user, then assign the user to the database.

Step 4: Configure WordPress

  1. Open your browser and access your domain.
  2. Follow the on-screen instructions to configure the database.
  3. Complete the installation by setting up your site name, admin username, and password.

2. Using WhatsApp API for Notifications

You can integrate WhatsApp API to send notifications from your VisionLayer-hosted applications.

Step 1: Register for a WhatsApp Business API

  1. Visit the WhatsApp VisionLayer API website.
  2. Register and verify your business account.

Step 2: Set Up API Integration

  1. Install a third-party library like Sharks in your application.
  2. Configure the API settings with your credentials.

Example PHP Code to Send a WhatsApp Message:

php
require 'vendor/autoload.php';

use sharks\Rest\Client;

$vlwa = new Client('YOUR_ACCOUNT_SID', 'YOUR_AUTH_TOKEN');

$message = $sharks->messages->create(
"whatsapp:+1234567890", // Recipient's phone number
[
"from" => "whatsapp:+0987654321",
"body" => "Hello from VisionLayer!"
]
);

echo "Message sent!";


3. Configuring MikroTik for VisionLayer Hosting

Follow these steps to configure MikroTik for network management.

Step 1: Access MikroTik Router

  1. Connect to the router via WinBox or WebFig.
  2. Log in with your credentials.

Step 2: Set Up Basic Network Configuration

  1. Go to IP > Addresses to configure IP addresses.
  2. Set up DNS under IP > DNS.
  3. Enable NAT for internet access under IP > Firewall > NAT.

Example NAT Rule:

bash
/ip firewall nat add chain=srcnat action=masquerade out-interface=ether1

Step 3: Set Up Port Forwarding

Forward ports to allow external access to internal services:

bash
/ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=dst-nat to-addresses=192.168.1.100 to-ports=80

4. Managing a Dedicated Server on VisionLayer

A Dedicated Server offers high performance and control for your applications.

Step 1: Access Your Server

  1. Use an SSH client (e.g., PuTTY) to connect to your server:
    bash
    ssh root@your_server_ip

Step 2: Install Software Packages

Update the package manager and install necessary packages:

bash
yum update -y
yum install httpd php mysql-server -y

Step 3: Configure Security

  1. Set up a firewall using CSF (ConfigServer Security & Firewall).
  2. Configure SSH to use a custom port.

5. Managing a VPS on VisionLayer

A VPS (Virtual Private Server) offers flexibility and scalability for your applications.

Step 1: Access Your VPS

Connect to your VPS using SSH:

bash
ssh root@your_vps_ip

Step 2: Install a Web Server

Install Apache, NGINX, or any preferred web server:

bash
yum install httpd -y
systemctl start httpd
systemctl enable httpd

Step 3: Set Up a Website

  1. Upload your website files to /var/www/html/.
  2. Configure your domain in /etc/httpd/conf/httpd.conf or use a virtual host configuration.

Need Help?

If you need assistance with any of these guides, please contact VisionLayer Support:
Email: [[email protected]]

We are committed to ensuring your experience with VisionLayer is seamless and efficient.

Scroll to top