mail and vestacp accessible from domain
mail and vestacp accessible from domain
hello, how to change, i mean - vestacp control panel accessible only from a domain eg. abc.com:8083, but from every each other from the same server and ip, will be hidden,
the same question for a roundcube? i want make something like panel will be on cp.xyz.com:8083 and mail(roundcube) mail.xyz.com, and nothing more :)
thanks
the same question for a roundcube? i want make something like panel will be on cp.xyz.com:8083 and mail(roundcube) mail.xyz.com, and nothing more :)
thanks
Re: mail and vestacp accessible from domain
nobody knows the solving method?
;'(
;'(
Re: mail and vestacp accessible from domain
Everything could be configured manually...
Vesta is running on a separate nginx instance. Configuration is here /usr/local/vesta/nginx/conf/nginx.conf
If you want to limit ip address replace
Same applies for Roundcube and phpMyadmin. Depending on your os (Debian/Ubuntu RHEL/CentOS) you can modify apache configuration to make redirection.
If you want to change dynamic links for PMA and Roundcube you can add following to the /usr/local/vesta/conf/vesta.conf
Vesta is running on a separate nginx instance. Configuration is here /usr/local/vesta/nginx/conf/nginx.conf
If you want to limit ip address replace
withlisten 8083;
You can also forcibly redirect users to specific domain name by adding followinglisten xxx.yyy.zzzz:443;
Code: Select all
if ($host != 'example.com' ) {
rewrite ^/(.*)$ http://example.com:8083/$1 permanent;
}
If you want to change dynamic links for PMA and Roundcube you can add following to the /usr/local/vesta/conf/vesta.conf
Code: Select all
DB_PMA_URL='https://3rd-party.host/pma/'
DB_PGA_URL=''https://3rd-party.host/pga/'
MAIL_URL=''https://3rd-party.host/webmail/'
Re: mail and vestacp accessible from domain
thanks you a lot!
you are still the best :)
i'll try it!
you are still the best :)
i'll try it!