Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083

Questions regarding the Web Interface
GUI
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
s3tupw1zard
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
  • Quote

Post by s3tupw1zard » Wed Jul 25, 2018 3:53 pm

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
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
  • Quote

Post by grayfolk » Wed Jul 25, 2018 4:58 pm

Any reason for this? What the problem with different port?
Top

s3tupw1zard
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
  • Quote

Post by s3tupw1zard » Wed Jul 25, 2018 5:03 pm

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
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
  • Quote

Post by grayfolk » Thu Jul 26, 2018 11:48 pm

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

hanif81
Posts: 7
Joined: Mon Sep 03, 2018 4:05 am

Os: CentOS 6x
Web: apache + nginx
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
  • Quote

Post by hanif81 » Tue Sep 04, 2018 9:09 am

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

Code: Select all

root           /usr/local/vesta/web;
Top

MAN5
Posts: 86
Joined: Sun Jan 31, 2016 4:14 am

Os: Ubuntu 15x
Web: apache + nginx
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
  • Quote

Post by MAN5 » 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
Top

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

Os: CentOS 6x
Web: nginx + php-fpm
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
  • Quote

Post by SanTi » Tue Jan 08, 2019 6:31 pm

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

MAN5
Posts: 86
Joined: Sun Jan 31, 2016 4:14 am

Os: Ubuntu 15x
Web: apache + nginx
Re: How to setup VestaCP correctly to access it from cp.example.com, not example.com:8083
  • Quote

Post by MAN5 » Wed Jan 09, 2019 2:01 am

Read the steps again.
Which step you dont knw ?
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Web Interface”



  • 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