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.
Reverse Proxy on the subdomain
-
- Posts: 9
- Joined: Tue Aug 23, 2016 1:13 am
Reverse Proxy on the subdomain
Hello
Good time
I want to do https://vip.tvhome.me/ Reverse Proxy on the subdomain.
ip and my port is http://148.251.187.58:8096.
How can I do this?
Thank
Good time
I want to do https://vip.tvhome.me/ Reverse Proxy on the subdomain.
ip and my port is http://148.251.187.58:8096.
How can I do this?
Thank
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Reverse Proxy on the subdomain
Your question is not very clear but what I understand, you need to
configure Apache to run on 8096
viewtopic.php?t=10219
Make sure your site vip.tvhome.me is running on IP 148.251.187.58
Should work easy
configure Apache to run on 8096
viewtopic.php?t=10219
Make sure your site vip.tvhome.me is running on IP 148.251.187.58
Should work easy
-
- Posts: 9
- Joined: Tue Aug 23, 2016 1:13 am
Re: Reverse Proxy on the subdomain
Hellomehargags wrote:Your question is not very clear but what I understand, you need to
configure Apache to run on 8096
viewtopic.php?t=10219
Make sure your site vip.tvhome.me is running on IP 148.251.187.58
Should work easy
I'm going to open the page that is located at ip: 148.251.187.58:8096 when I enter https://vip.tvhome.me.
I use vestacp with default settings.
How do you think I can do this?
I saw a few sites after studying using Reverse Proxy to do this.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Reverse Proxy on the subdomain
Yes exactly how I wrote...
Re: Reverse Proxy on the subdomain
If you're running nginx you can paste this in your nginx config /etc/nginx/conf/your.ip.conf
Just make sure to edit listen ip with your own.
Reload nginx service and you'r up and running
Make note, this will not work with ssl.
Just make sure to edit listen ip with your own.
Code: Select all
server {
listen 52.0.14.116:80;
server_name vip.tvhome.me;
location / {
proxy_pass http://148.251.187.58:8096
}
}
Make note, this will not work with ssl.
-
- Posts: 9
- Joined: Tue Aug 23, 2016 1:13 am
Re: Reverse Proxy on the subdomain
Likekenneth wrote:If you're running nginx you can paste this in your nginx config /etc/nginx/conf/your.ip.conf
Just make sure to edit listen ip with your own.Reload nginx service and you'r up and runningCode: Select all
server { listen 52.0.14.116:80; server_name vip.tvhome.me; location / { proxy_pass http://148.251.187.58:8096 } }
Make note, this will not work with ssl.
Excellent
Thank you for your very good answer ...
Last edited by mojtaba472 on Sun Sep 10, 2017 8:18 pm, edited 1 time in total.
-
- Posts: 9
- Joined: Tue Aug 23, 2016 1:13 am
Re: Reverse Proxy on the subdomain
mehargags wrote:Yes exactly how I wrote...
apache Down....
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Reverse Proxy on the subdomain
so check apache error log and see what is wrong