The function adds web/dns/mail domain to a server.
Syntax
v-add-domain USER DOMAIN [IP] [RESTART]
Options
| Parameters | Parameters Description |
|---|---|
| USER | Username of the owner |
| DOMAIN | Domain to add to the User |
| [IP] | [OPTIONAL] Bind domain to this IP, default value is read from the Users settings |
| [RESTART] | [OPTIONAL] Restart services after adding domain, default value = yes (restarts apache, nginx, dns) |
Examples
Notes
Related Commands
Links
GitHub
