Page 1 of 1

How to change admin panel domain?

Posted: Mon Aug 01, 2016 9:31 pm
by tarking
No matter what I try, the install script (vst-install.sh) always gives me an IP address to connect to the admin panel: 123.123.123.123:8083

How do I change Vesta so that I can access the admin panel through my-domain.com?

I tried this, but it's no longer working:
http://translate.google.co.uk/translate ... 6bih%3D587
On Ubuntu 14.04, I can successfully install a website through VestaCP for my-domain.com, and I can access it fine. I just can't find anyway in the config files to specify where admin panel should be accessed from.

Re: How to change admin panel domain?

Posted: Tue Aug 02, 2016 7:41 am
by skurudo
You need make changes in /usr/local/vesta/nginx/conf/nginx.conf

Code: Select all

  server {
        listen          8083;
        server_name     panel.domain.com;

Re: How to change admin panel domain?

Posted: Tue Aug 02, 2016 8:19 pm
by tarking
Thank you, I'm not sure how I could have missed that.

Your solution did not work for my server. But when I created a new droplet with a fresh Vesta install and different domain – it worked!

In case anyone else finds themselves with similar troubles:

It turns out the problem with my first server was due to the fact that I was using Cloudflare as my DNS host for that first domain and their reverse-proxy only allows certain ports (Vesta's default port of 8083 is blocked). I changed Vesta's port to 2053 and opened that port on my server:

Code: Select all

iptables -A INPUT -p tcp --dport 2053 -j ACCEPT
Restart your services or reboot, problem solved.

Re: How to change admin panel domain?

Posted: Wed Aug 03, 2016 10:00 am
by skurudo
tarking wrote:Thank you, I'm not sure how I could have missed that.
...
Restart your services or reboot, problem solved.
Nice, thanks you for report! )