Page 1 of 1

How can I limit to access to VestaCPanel

Posted: Tue Jan 08, 2019 1:30 am
by SanTi
Hi, I have one domain and 2 subdomain. At the moment I can access to Vesta Panel via all of them.

abc.domain.com:8083 , domain.com:8083 xyz.domain.com:8083 and ip adress 111.222.33.444:8083 are accessible for vesta panel but I want to acces just via xyz.domain.com. How can I do? Can you help me?

Re: How can I limit to access to VestaCPanel

Posted: Thu Jan 10, 2019 8:49 pm
by beli
Edit /usr/local/vesta/nginx/conf/nginx.conf

Replace server_name _; with server_name xyz.domain.com; and restart vesta service.

.......

Code: Select all

    # Vhost
    server {
        listen          8085;
        server_name     _;
        root            /usr/local/vesta/web;
        charset         utf-8;

Re: How can I limit to access to VestaCPanel

Posted: Sun Jan 13, 2019 1:26 pm
by SanTi
I have changed. Still ı can access to panel by other domains and ip adress.