Adding a New Domain


To add a new domain:

  1. Log into the desired user account.
  2. Navigate to Manage Domains > Domains.
  3. Click on the "Add a New Domain" button.
  4. This will take you to the domain creation page. Fill in the input fields according to your needs.
  5. This page has the following input fields (see screenshots below):
    • Domain – Enter the domain you want to add.
      Example: https://www.exampledomain.com is your domain, then enter only exampledomain.com without https and www
    • Is WildCard Domain – Toggle this switch if you want to make it WildCard domain.
      Wildcard Domain
      All of your non-existing subdomains will point/map to the same directory same as of your parent domain. Example: xyz.exampledomain.com will point/map to the same directory as of exampledomain.com.
    • Redirect to secure URL – Toggling this switch will enable force redirect from HTTP to HTTPS.
    • IP Address – Select an IP Address for this domain from the dropdown menu.
    • Document Path - Enter your desired path for domain files. ZesleCP will automatically create directories according to your entered path. You can leave it blank to create a directory same as your domain name (recommended)
    • Mail Routing setting – Select a mail routing setting from the following:
      • 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
    • Choose PHP version - if your project/website doesn't have any specific PHP compatibility requirements. Then, always select the latest version.
  6. Click on the "Save Changes" button to add a new domain.
Remember:
You must link your domain 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 domain, it may take 10-15 seconds to update domain configuration.

Screenshots

Add a New domain

Add domain with ZesleCP

Add domain with ZesleCP