Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

How can I limit to access to VestaCPanel

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
SanTi
Posts: 39
Joined: Tue Jan 08, 2019 1:23 am

Os: CentOS 6x
Web: nginx + php-fpm
How can I limit to access to VestaCPanel
  • Quote

Post by SanTi » Tue Jan 08, 2019 1:30 am

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?
Top

beli
Posts: 3
Joined: Fri Sep 07, 2018 1:27 pm

Os: Debian 7x
Web: apache + nginx
Re: How can I limit to access to VestaCPanel
  • Quote

Post by beli » Thu Jan 10, 2019 8:49 pm

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;
Top

SanTi
Posts: 39
Joined: Tue Jan 08, 2019 1:23 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: How can I limit to access to VestaCPanel
  • Quote

Post by SanTi » Sun Jan 13, 2019 1:26 pm

I have changed. Still ı can access to panel by other domains and ip adress.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password