Add New SubDomain

To add a subdomain, navigate to Manage Subdomains > Add a New menu in your ZesleCP control panel, which leads to the Add Subdomain form.


Screenshot

Add new subdomain into your ZesleCP control panel


Steps

Domain — Select parent domain for which you want to add a subdomain.

Subdomain — Enter subdomain name. (no special characters or spaces).
Example: enter only xyz to get http://xyz.example.com subdomain

Path — Enter your desired path for subdomain files. ZesleCP will automatically create directories, according to your selected path, under parent domain's SSH user home directory. You can leave it blank to create directory same as your subdomain name (recommended).

Select PHP Version — Check if your project/website have any specific PHP compatibility requirements. If not (or not sure), always select the latest version. You can manage PHP config settings and different PHP extensions directly from your ZesleCP control panel.

All done? — Click Save Now button and browse your subdomain in a new tab and you should be able to see Welcome page by ZesleCP.




Other related articles: