Page 1 of 1

Link without port

Posted: Sun Dec 17, 2017 9:30 pm
by Matty
Hi,
How can i change

Code: Select all

http://name.com:8083
to

Code: Select all

http://control.name.com
Can someone tell me how do it??

Re: Link without port

Posted: Mon Dec 18, 2017 6:46 am
by mehargags
What is so hard in it ?
Point an A record to IP, in Vesta, Setup default domain to that subdomain.

Re: Link without port

Posted: Tue Dec 19, 2017 2:41 pm
by vanderheyde
I think he's referring to the 'without port' part.

Making the control panel listen on port 443, on only a specific subdomain.

Re: Link without port

Posted: Tue Dec 19, 2017 7:43 pm
by mehargags
That is not possible because 80/443 are reserved for http/s. The shear thought of this is plain stupid and doesn't make sense. Your Control panel needs to run in PARALLEL to your webservices, not under them, so you need to use a different port. cPanel/WHM, Virtualmin, ISPConfig... name any Panel, they all run on separate ports.

Re: Link without port

Posted: Sun Dec 24, 2017 2:06 pm
by ScIT
Matty wrote:Hi,
How can i change

Code: Select all

http://name.com:8083
to

Code: Select all

http://control.name.com
Can someone tell me how do it??
this is theoretically possible. You can add a subdomain control.name.com, then create a new nginx template under /usr/local/vesta/data/templates/web/nginx and use nginx proxy_pass (http://nginx.org/en/docs/http/ngx_http_ ... proxy_pass). So you could use let's encrypt for ssl (default apache2 template), and redirect all requests to https://yourip:8083.

Re: Link without port

Posted: Sun Dec 24, 2017 5:26 pm
by mehargags
ScIT wrote:You can add a subdomain control.name.com, then create a new nginx template under /usr/local/vesta/data/templates/web/nginx and use nginx proxy_pass (http://nginx.org/en/docs/http/ngx_http_ ... proxy_pass). So you could use let's encrypt for ssl (default apache2 template), and redirect all requests to https://yourip:8083.
Nice idea...!!!