We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
-
- Posts: 2
- Joined: Wed Jul 25, 2018 3:47 pm
- Os: Debian 8x
- Web: apache + nginx
How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
How can I setup this?
Ive tried several guides.
viewtopic.php?t=12853 works but the websites ive setup arent accessible.
And i want to access the admin panel only through https.
Can anyone help me?
Thanks
Ive tried several guides.
viewtopic.php?t=12853 works but the websites ive setup arent accessible.
And i want to access the admin panel only through https.
Can anyone help me?
Thanks
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Any reason for this? What the problem with different port?
-
- Posts: 2
- Joined: Wed Jul 25, 2018 3:47 pm
- Os: Debian 8x
- Web: apache + nginx
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
I just want to access the admin panel through cp.example.com without port. And the whole thing should be ssl secured.
And i want that the other websites are reachable too, not that blog.example.com shows the panel too
And i want that the other websites are reachable too, not that blog.example.com shows the panel too
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
If you use nginx you can create/update template for site with followed code:
Code: Select all
location / {
proxy_pass https://your.panel.addr:2083;
}
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
i change that too but only text showup .. js not loading for vestacp
OK just change line 9 from
to
OK just change line 9 from
Code: Select all
root /home/admin/web/yourdomain/public_html;
Code: Select all
root /usr/local/vesta/web;
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Your actual requirement is this way..?
1. Panel login is ‘cp.domain.com’
2. Other sites should not able to login. So must be the exact url only can login.
Is it?
Im using that exact way.
- Set your droplet name as ‘cp.domain.com’
- set your server hostname as ‘cp.domain.com’
- change your vesta cp port to 80
- enable ssl for your cp domain
1. Panel login is ‘cp.domain.com’
2. Other sites should not able to login. So must be the exact url only can login.
Is it?
Im using that exact way.
- Set your droplet name as ‘cp.domain.com’
- set your server hostname as ‘cp.domain.com’
- change your vesta cp port to 80
- enable ssl for your cp domain
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
How can we configure like this ?MAN5 wrote: ↑Tue Oct 23, 2018 10:54 amYour actual requirement is this way..?
1. Panel login is ‘cp.domain.com’
2. Other sites should not able to login. So must be the exact url only can login.
Is it?
Im using that exact way.
- Set your droplet name as ‘cp.domain.com’
- set your server hostname as ‘cp.domain.com’
- change your vesta cp port to 80
- enable ssl for your cp domain
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Read the steps again.
Which step you dont knw ?
Which step you dont knw ?