virtual host like plesk.domain or ip/plesk and domain/plesk like cpanel in plesk for windows
CPANEL/WHM/WEBMAIL/WEBDISK PROXY SUBDOMAINS
<VirtualHost serverIP:80 127.0.0.1:80>
ServerName heregoesthenameserver
ServerAlias cpanel.* whm.* webmail.* webdisk.*
DocumentRoot /usr/local/apache/htdocs
ServerAdmin mailtoadmin@domain
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
UserDir disabled
RewriteEngine On
RewriteCond %{HTTP_HOST} !^heregoesthenameserver$
RewriteCond %{HTTP_HOST} ^cpanel\.
RewriteRule ^/(.*) http://127.0.0.1:2082/$1 [P]
RewriteCond %{HTTP_HOST} !^heregoesthenameserver$
RewriteCond %{HTTP_HOST} ^webmail\.
RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]
RewriteCond %{HTTP_HOST} !^heregoesthenameserver$
RewriteCond %{HTTP_HOST} ^whm\.
RewriteRule ^/(.*) http://127.0.0.1:2086/$1 [P]
RewriteCond %{HTTP_HOST} !^heregoesthenameserver$
RewriteCond %{HTTP_HOST} ^webdisk\.
RewriteRule ^/(.*) http://127.0.0.1:2077/$1 [P]
UseCanonicalName Off
</VirtualHost>
2
votes
Anonymous
shared this idea
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
—
IG