Configuring CyberPanel Instance: Hosted Subdomain, Create Email Addresses, and Whole Domain Access

Abstract: Resolve connection errors and enable email functionality by configuring DNS records, subdomains, and mail accounts in CyberPanel.

Created: 2026-07-29 by
To configure a CyberPanel instance for a hosted subdomain, create email addresses, and enable whole domain access, you must first ensure DNS records are correctly propagated. The process involves creating the primary website in the dashboard, adding the specific subdomain entry, generating mail accounts via the Email section, and verifying that DNS zones allow wildcard or specific A/AAAA records for full domain coverage.

Prerequisites and DNS Verification

Before diving into the CyberPanel interface, it is critical to have your domain's nameservers pointing to your hosting provider or a managed DNS service like Cloudflare. If you are using a VPS with Docker, as discussed in Setting up Nginx Traffic Redirect for Subdomains on VPS with Multiple Docker Containers and Cloudflare, ensure that your container network allows incoming traffic on ports 80 and 443. Verify that your domain has an "A" record pointing to your server's IP address. For the subdomain (e.g., admin.example.com), you need a separate "A" record or a wildcard "*" record if you plan to host multiple subdomains. Without these DNS entries, CyberPanel can create the virtual hosts, but visitors will receive connection errors because the domain name cannot resolve to your server's IP.

Creating the Main Website and Subdomain

Log in to your CyberPanel administrator panel. Navigate to the Website menu on the left sidebar and select Create Website. This step establishes the root domain (example.com) and its associated web directory. Fill in the required details:
  • Domain Name: Enter your primary domain.
  • Owner: Select the user account that will own this site.
  • Email Address: Provide an admin email for SSL certificate notifications.
  • Website Packages: Choose a package that defines disk space and bandwidth limits.
Once the main site is created, do not close the window. Look for the option to add additional domains or subdomains within the same creation flow, or go back to the Manage Websites list. Click on your newly created website to manage it. In the management view, locate the Add Additional Domain or Add Subdomain button. Enter the subdomain name (e.g., admin). CyberPanel will automatically append the base domain. Ensure that the document root is set to a new directory (e.g., /home/example.com/public_html/admin) to keep files organized. If you need SSL, check the box to issue a Let's Encrypt certificate immediately. This ensures HTTPS is active for both the main domain and the subdomain from the start.

Configuring Email Addresses

CyberPanel uses Dovecot and Postfix for mail services. To create email addresses, navigate to the Email menu in the main dashboard. You will see options to create email accounts for existing websites. Select the primary domain (example.com) from the dropdown. Click on Create Email Account. You will be prompted to enter:
  • Email Address: The local part (e.g., info, support, admin).
  • Password: A strong password for the account.
  • Quota: Set a mailbox size limit in MB or GB.
Repeat this process for any other required addresses. After creation, verify that the MX records for your domain are pointing to your server. CyberPanel usually handles this automatically when you create the website, but it is good practice to check the DNS zone editor. The MX record should point to mail.example.com or just example.com, depending on your configuration.

Enabling Whole Domain Access

Whole domain access typically refers to ensuring that all variations of the domain (www, non-www, and subdomains) are accessible and properly routed. In CyberPanel, this is largely handled by the Nginx configuration generated during website creation. However, if you encounter issues where only one variant works, you may need to adjust redirections. Navigate to Manage Websites and click on your site. Look for the Nginx Configuration or SSL Settings. Ensure that the "Redirect to HTTPS" option is enabled if you want secure connections. For whole domain access, verify that the DNS zone includes a CNAME record for "www" pointing to the apex domain, or an "A" record if you prefer direct resolution. If you are dealing with complex routing, such as pointing a subdomain to a specific port, refer to guides on Pointing Subdomain DNS Record to Specific Port on Ubuntu VPS Server. In standard CyberPanel setups, simply ensuring that the subdomain's A record exists and the Nginx vhost file contains the correct server_name directive will grant access. The system automatically generates the necessary server blocks for each added domain and subdomain.

Troubleshooting Common Issues

If the subdomain does not load, clear your browser cache and check the DNS propagation status using tools like dig or nslookup. Ensure that the firewall on your server allows HTTP (80) and HTTPS (443) traffic. In some cases, SELinux policies on CentOS-based systems might block access; however, CyberPanel's installation script usually configures these rules correctly. For email issues, check the mail logs located in /var/log/maillog. If emails are not sending, verify that the SMTP port 587 is open and that the authentication settings in your email client match the credentials created in CyberPanel.

Frequently Asked Questions

Can I use the same email account for multiple subdomains?

No, email addresses are tied to specific domain zones. An email address like [email protected] belongs to the example.com zone. You cannot use it for admin.example.com unless you alias it, which requires manual postfix configuration outside the standard CyberPanel UI.

Why is my subdomain showing a default page instead of my content?

This usually happens if the document root is not correctly set or if the DNS A record is missing. Verify that the subdomain's A record points to your server IP and that the Nginx configuration for that subdomain specifies the correct web directory path.

How do I reset the password for a CyberPanel email account?

You can reset the password directly from the CyberPanel dashboard by navigating to the Email section, selecting the account, and clicking the edit or reset password option. There is no need to access the server command line for standard password resets.

Does CyberPanel support wildcard SSL certificates?

Yes, CyberPanel supports Let's Encrypt wildcard certificates. When creating a website or adding a subdomain, you can request a wildcard certificate (*.example.com) which will cover all current and future subdomains under that domain, simplifying SSL management.

What happens if I delete a subdomain in CyberPanel?

Deleting a subdomain removes its Nginx configuration, database (if attached), and file contents. It does not automatically delete the DNS record. You must manually remove the corresponding A or CNAME record from your DNS provider to fully clean up the setup.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More