Page 1 of 1
How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Posted: Wed Jul 25, 2018 3:53 pm
by s3tupw1zard
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
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Posted: Wed Jul 25, 2018 4:58 pm
by grayfolk
Any reason for this? What the problem with different port?
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Posted: Wed Jul 25, 2018 5:03 pm
by s3tupw1zard
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
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Posted: Thu Jul 26, 2018 11:48 pm
by grayfolk
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
Posted: Tue Sep 04, 2018 9:09 am
by hanif81
i change that too but only text showup .. js not loading for vestacp
OK just change line 9 from
Code: Select all
root /home/admin/web/yourdomain/public_html;
to
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Posted: Tue Oct 23, 2018 10:54 am
by MAN5
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
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Posted: Tue Jan 08, 2019 6:31 pm
by SanTi
MAN5 wrote: ↑Tue Oct 23, 2018 10:54 am
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
How can we configure like this ?
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
Posted: Wed Jan 09, 2019 2:01 am
by MAN5
Read the steps again.
Which step you dont knw ?