Adding a New Subdomain


To add a new subdomain:

  1. Log into the desired user account.
  2. Navigate to Manage Domains > Subdomains.
  3. Click on the "Add a New Subdomain" button.
  4. This will take you to the subdomain creation page. Fill in the input fields according to your needs.
  5. This page has the following input fields (see screenshots below):
    • Subdomain – Enter the subdomain you want to add.
      Example: https://sub.exampledomain.com is your subdomain, then enter only sub to add your subdomain
    • Domain – Select the domain you want to add this subdomain to.
    • Redirect to secure URL – Toggling this switch will enable force redirect from HTTP to HTTPS.
    • IP Address – Select an IP Address for this subdomain from the dropdown menu.
    • Document Path - Enter your desired path for subdomain files. ZesleCP will automatically create directories according to your entered path. You can leave it blank to create a directory same as your subdomain name (recommended)
    • Choose PHP version - If your project/website doesn't have any specific PHP compatibility requirements. Then, always select the latest version.
    • Enable Emails on this Subdomain - Toggle this switch to ON will enable emails for this subdomain. Keep it OFF until you really need emails on this subdomain.
    • Mail Routing setting – Select a mail routing setting from the following (used only if above toggle is ON):
      • Local Mail Exchange - Select this option to use this server to send the emails (default)
      • Remote Mail Exchange - Select this option to use any 3rd party or custom MX records
      • Host on google Apps – Use pre-configured google MX records as a 3rd party mail routing
      • Host on Zoho Apps - Use pre-configured zoho MX records as a 3rd party mail routing
  6. Click on the "Save Changes" button to add a new subdomain.
Remember:
You must link your subdomain with ZesleCP by updating your DNS nameservers or A record IP under your domain registrar account. Such as: GoDaddy, Namecheap or any other.
PHP Settings:
Admin can manage PHP config settings, PHP ini, and PHP extensions directly from ZesleCP. Login into ZesleCP panel with your root/admin account, navigate to PHP Configuration > MultiPHP INI Editor.
Note:
After adding/modifying subdomain, it may take 10-15 seconds to update subdomain configuration.

Screenshots

Add a New Subdomain

Add subdomain with ZesleCP

Add subdomain with ZesleCP