Description
This function lists virtual host names for each domain.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
vhost_name |
string |
The name of the virtual host. |
A valid host's name on the account. |
hostname.example.com |
domain |
string |
The domain name. |
A valid domain name on the virtual host. |
example.com |
vhost_is_ssl |
Boolean |
Whether an SSL certificate secures the virtual host. |
|
1 |