rebuildvhost
Rebuild Virtual Hosts
This tool will rebuild the virtual host settings of a website on your web servers. This tool will rebuild HTTPD, Nginx, OpenliteSpeed, and Varnish Virtual hosts.
Command
/usr/local/eenos/scripts/rebuildvhost
Command Options:
Usage: /usr/local/eenos/scripts/rebuildvhost <options>[=][value]
Command Groups:
Options:
--domain=[domain name ] - Rebuild vhost of a domain
--user=[user name ] - Rebuild all vhosts of a user
-a, --all - Rebuild all vhosts
-u <user>, --user <user> - Rebuild all vhosts of a user
-d <domain>, --domain <domain> - Rebuild a domain vhost
Rebuild All Vhosts
To rebuild all virtual hosts in your server, run the following command.
/usr/local/eenos/scripts/rebuildvhost -a
Rebuild User Vhosts
To rebuild all virtual hosts of a single user on your eenos server, use the following command.
/usr/local/eenos/scripts/rebuildvhost -u <user>
where <user> is the eenos hosting control panel user.
Rebuild Domain Vhost
To rebuild the virtual host of a domain, use the following command,
/usr/local/eenos/scripts/rebuildvhost -d <domain>
where <domain> is the website name.