logo
. . .

How to Manage Multiple Websites With Cyber Panel.

How to Manage Multiple Websites With Cyber Panel.

How to Manage Multiple Websites With Cyber Panel. CyberPanel is an open-source web hosting control panel that makes managing websites and domains easy. It offers a user-friendly interface, robust features, and integration with LiteSpeed Web Server, making it a popular choice for web administrators.

Table of Contents

Importance of Managing Multiple Domains

How to Manage Multiple Websites With Cyber Panel. Managing multiple domains is crucial for businesses and individuals who need to maintain separate websites for different purposes. Effective management ensures that each domain operates smoothly, remains secure, and provides the best user experience.

Brief on What Will Be Covered

How to Manage Multiple Websites With Cyber Panel. This guide will walk you through the entire process of managing multiple domains on CyberPanel, from installation to advanced domain management and troubleshooting. By the end, you’ll have a comprehensive understanding of how to efficiently handle your domains.

Getting Started with CyberPanel

Installing CyberPanel

System Requirements

How to Manage Multiple Websites With Cyber Panel. Before installing CyberPanel, ensure your server meets the following requirements:

  • Operating System: CentOS 7.x, Ubuntu 18.04 or 20.04, Debian 9.x or 10.x
  • RAM: Minimum 1 GB
  • Disk Space: Minimum 10 GB
  • Processor: 1 core
How to Manage Multiple Websites With Cyber Panel.

How to Manage Multiple Websites With Cyber Panel. Step-by-Step Installation Guide

  1. Access your server via SSH:
bash Copy code ssh root@your_server_ip

2. Update your system packages:

bash Copy code apt update && apt upgrade -y

3. Download and run the CyberPanel installation script:

bash Copy code wget -O installer.sh https://cyberpanel.net/install.sh
chmod +x installer.sh
./installer.sh

Follow the on-screen instructions:

  • Choose the full installation option.
  • Install LiteSpeed Web Server when prompted.
  • Set an admin password for CyberPanel.

Access CyberPanel: How to Manage Multiple Websites With Cyber Panel, Open your browser and go to https://your_server_ip:8090. Log in using the admin credentials you set during installation.

Initial Setup and Configuration

Accessing CyberPanel Dashboard

Once logged in, you’ll see the CyberPanel dashboard. This is where you’ll manage your domains, websites, and server settings.

Basic Configurations
  1. Set the Hostname: Go to Server > Change Hostname and set a unique hostname for your server.
  2. Update Server Timezone: Go to Server > Change TimeZone and select your timezone.
  3. Set Up Admin Email: Go to Server > Set Up Admin Email and enter your email address for receiving important notifications.

Understanding Domains and DNS

What is a Domain?

How to Manage Multiple Websites With Cyber Panel, A domain is a unique name that identifies a website on the internet. It’s what users type into their browsers to visit a site, like example.com.

How DNS Works

How to Manage Multiple Websites With Cyber Panel, DNS (Domain Name System) translates domain names into IP addresses, allowing browsers to load websites. It’s like the internet’s phonebook.

Types of DNS Records

A Record

Maps a domain to an IP address.

CNAME Record

Aliases one domain name to another.

MX Record

Directs email to a mail server.

TXT Record

Provides text information to sources outside your domain.

Adding Domains to CyberPanel

Creating a New Domain

Step-by-Step Guide
  1. Log in to CyberPanel.
  2. Navigate to Websites > Create Website.
  3. Fill in the details:
    • Domain Name: Enter your domain name.
    • Email: Enter your email address.
    • Package: Select the hosting package.
    • Owner: Select the owner (admin by default).
  4. Click Create Website.
Important Settings to Configure
  1. PHP Version: Go to Websites > List Websites > Manage > Change PHP and select the PHP version for your site.
  2. SSL Configuration: Ensure SSL is enabled for secure connections.

Managing Domain DNS Records

Adding and Editing DNS Records
  1. Navigate to DNS > Add/Delete Records.
  2. Select your domain.
  3. Add or edit records as needed:
    • Type: Choose the record type (A, CNAME, etc.).
    • Name: Enter the record name.
    • Value: Enter the record value.
Common DNS Configurations
  1. A Record: Points your domain to your server’s IP address.
  2. MX Record: Points email to your mail server.

SSL for Your Domains

Enabling SSL
  1. Navigate to Websites > List Websites.
  2. Select Manage for your domain.
  3. Click Issue SSL.
Renewing SSL Certificates

How to Manage Multiple Websites With Cyber Panel, SSL certificates need to be renewed periodically. CyberPanel automates this process, but you can manually renew by clicking Renew SSL under the same section.

Creating and Managing Subdomains

What is a Subdomain?

A subdomain is a prefix added to your main domain, like blog.example.com.

Creating Subdomains in CyberPanel

Step-by-Step Guide
  1. Log in to CyberPanel.
  2. Navigate to Websites > Create Subdomain.
  3. Fill in the details:
    • Domain: Select your main domain.
    • Subdomain: Enter your subdomain.
    • Owner: Select the owner (admin by default).
  4. Click Create Subdomain.

Managing Subdomain Settings

How to Manage Multiple Websites With Cyber Panel, You can manage subdomain settings similarly to main domains, including DNS configurations, SSL, and more.

Email Management for Multiple Domains

Setting Up Email Accounts

Step-by-Step Guide
  1. Navigate to Email > Create Mail Domain.
  2. Enter your domain and click Create.
  3. Navigate to Email > Create Mail Account.
  4. Enter the email address and password.

Managing Email Accounts

Adding, Editing, and Deleting Accounts
  1. Navigate to Email > List Mail Domains.
  2. Select your domain.
  3. Add, edit, or delete accounts as needed.

Email Security Settings

SPF, DKIM, and DMARC Configurations
  1. Navigate to DNS > Add/Delete Records
  2. Add the necessary records for SPF, DKIM, and DMARC:
  1. SPF Record:
    • Type: TXT
    • Name: @
    • Value: v=spf1 a mx ~all
  2. DKIM Record:
    • Type: TXT
    • Name: default._domainkey
    • Value: (Paste the DKIM key generated by CyberPanel)
  3. DMARC Record:
    • Type: TXT
    • Name: _dmarc
    • Value: v=DMARC1; p=none; rua=mailto:postmaster@example.com
How to Manage Multiple Websites With Cyber Panel.

Website Management on CyberPanel

Creating Websites

Step-by-Step Guide
  1. Log in to CyberPanel.
  2. Navigate to Websites > Create Website.
  3. Fill in the details:
    • Domain Name: Enter your domain name.
    • Email: Enter your email address.
    • Package: Select the hosting package.
    • Owner: Select the owner (admin by default).
  4. Click Create Website.

Managing Website Settings

File Management
  1. Navigate to File Manager under the desired domain.
  2. Upload, download, and manage files as needed.
  3. Use the built-in editor to modify files directly.
Database Management
  1. Navigate to Databases > Create Database.
  2. Fill in the details:
    • Database Name: Enter the database name.
    • Username: Enter the username.
    • Password: Enter the password.
  3. Click Create Database.
  4. Manage databases using phpMyAdmin available in CyberPanel.

Using Git for Website Deployment

Setting Up Git
  1. Navigate to Git > Create Git Repository.
  2. Fill in the details:
    • Domain: Select your domain.
    • Repository Name: Enter the repository name.
    • Branch: Enter the branch name (default is master).
  3. Click Create Repository.
Deploying a Website Using Git
  1. Navigate to Git > List Git Repositories.
  2. Select your repository.
  3. Click Deploy to pull the latest changes from your Git repository.
How to Manage Multiple Websites With Cyber Panel.

Advanced Domain Management

Redirecting Domains

Creating 301 and 302 Redirects
  1. Navigate to Websites > Redirects.
  2. Select your domain.
  3. Fill in the details:
    • Source URL: Enter the source URL.
    • Destination URL: Enter the destination URL.
    • Redirect Type: Select 301 (permanent) or 302 (temporary).
  4. Click Create Redirect.

Parking Domains

Setting Up Domain Parking
  1. Navigate to Websites > Parked Domains.
  2. Enter the domain you want to park.
  3. Select the domain where you want to park it.
  4. Click Park Domain.

Domain Forwarding

Setting Up Domain Forwarding
  1. Navigate to Websites > Forward Domains.
  2. Enter the domain you want to forward.
  3. Enter the destination URL.
  4. Click Forward Domain.

Backup and Restore

Importance of Backups

How to Manage Multiple Websites With Cyber Panel, Regular backups are crucial for data protection. They ensure that you can recover your websites and data in case of accidental deletion, server failures, or cyber attacks.

Creating Backups in CyberPanel

Step-by-Step Guide
  1. Navigate to Backup > Create Backup.
  2. Select the domain you want to back up.
  3. Click Create Backup.
  4. The backup file will be stored in the /home/domain.com/backup directory.

Restoring from Backups

Step-by-Step Guide
  1. Navigate to Backup > Restore Backup.
  2. Select the domain you want to restore.
  3. Choose the backup file from the list.
  4. Click Restore to initiate the restoration process.

Security Measures for Domains

Basic Security Practices

  1. Keep CyberPanel and server software up to date to protect against vulnerabilities.
  2. Use strong, unique passwords for all accounts.
  3. Regularly update and patch your websites to prevent security exploits.

Using CSF (ConfigServer Security & Firewall)

Installing and Configuring CSF
  1. Access your server via SSH:bashCopy codessh root@your_server_ip
  2. Install CSF:bashCopy codeapt install csf -Qy
  3. Configure CSF:
    • Edit the configuration file:bashCopy codenano /etc/csf/csf.conf
    • Enable testing mode and adjust settings as needed.
  4. Restart CSF:bashCopy codecsf -r

DDoS Protection

Configuring DDoS Protection
  1. Enable and configure DDoS protection in your server firewall settings.
  2. Use a CDN (Content Delivery Network) like Cloudflare to help mitigate DDoS attacks.
  3. Monitor traffic for unusual spikes and patterns.

Monitoring and Reporting

Importance of Monitoring

How to Manage Multiple Websites With Cyber Panel, Regular monitoring helps ensure your websites and domains are running smoothly. It allows you to detect and address issues promptly, improving uptime and performance.

Setting Up Monitoring in CyberPanel

Configuring Notifications
  1. Navigate to Server > Notifications.
  2. Set up email notifications for important events and alerts.
  3. Configure thresholds for CPU, RAM, and disk usage alerts.

Viewing and Understanding Reports

Traffic Reports
  1. Navigate to Reports > Traffic.
  2. View detailed traffic reports for your domains, including bandwidth usage and visitor statistics.
Error Logs
  1. Navigate to Logs > Error Logs.
  2. Review error logs to identify and troubleshoot issues with your websites.

Troubleshooting Common Issues

DNS Resolution Problems

  1. Check DNS records for accuracy.
  2. Use online tools like DNS Checker to verify DNS propagation.
  3. Ensure your domain is pointed to the correct nameservers.

SSL Issues

  1. Verify SSL configuration in CyberPanel.
  2. Ensure the SSL certificate is valid and not expired.
  3. Check for mixed content issues on your website.

Email Deliverability Problems

  1. Check email server settings in CyberPanel.
  2. Verify DNS records for SPF, DKIM, and DMARC.
  3. Monitor email logs for errors and bounce messages.

Conclusion

Summary of Key Points

How to Manage Multiple Websites With Cyber Panel, Managing multiple domains on CyberPanel involves setting up domains, configuring DNS records, enabling SSL, managing email accounts, and ensuring security and backups. CyberPanel provides a user-friendly interface and robust features to streamline these tasks.

Encouragement to Explore Further

CyberPanel offers extensive documentation and a supportive community to help you explore its full potential. Experiment with different features and configurations to optimize your domain management.

Final Thoughts

How to Manage Multiple Websites With Cyber Panel, Effective domain management is crucial for maintaining a secure and efficient online presence. With CyberPanel, you have a powerful tool at your disposal to handle multiple domains with ease. Stay proactive with monitoring, updates, and security measures to ensure your domains run smoothly and securely.

Read More

What is a Managed VPS? Discover Benefits & Features

How To Resolve Upload Error In Cyberpanel

How to Integrate Cyber Panel with Cloud Flare.

Frequently Asked Questions (FAQs)

How to Add Multiple Domains?

Adding multiple domains in CyberPanel involves creating new domains under Websites > Create Website and configuring their DNS records and settings individually.

How to Secure My Domains?

Secure your domains by:
Enabling SSL.
Setting up DNSSEC.
Using strong passwords.
Regularly updating software and plugins.

How to Configure DNS Records?

Configure DNS records in CyberPanel by navigating to DNS > Add/Delete Records and adding the required records for your domains.

How to Troubleshoot Common Email Issues?

Troubleshoot email issues by:
Checking email server configurations.
Verifying SPF, DKIM, and DMARC records.
Reviewing email logs for errors.

How to Perform Backups and Restores?

Perform backups by navigating to Backup > Create Backup and restores by navigating to Backup > Restore Backup in CyberPanel.