How can I limit to access to VestaCPanel
How can I limit to access to VestaCPanel
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?
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
Edit /usr/local/vesta/nginx/conf/nginx.conf
Replace server_name _; with server_name xyz.domain.com; and restart vesta service.
.......
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
I have changed. Still ı can access to panel by other domains and ip adress.