Control Web Panel

WebPanel => How to => Topic started by: angelorocha on July 11, 2018, 05:59:29 PM

Title: Centos Panel in a Subdomain
Post by: angelorocha on July 11, 2018, 05:59:29 PM
Hi!

How to access my centos web panel by a subdomain.

Eg.:
www.mydomain.com:2030 -> panel.mydomain.com

Thanks!
Title: Re: Centos Panel in a Subdomain
Post by: Administrator on July 12, 2018, 09:04:21 AM
simply by adding port at end
2030 & 2031 for admin
2082 & 2083 for user

http://panel.mydomain.com:2030
Title: Re: Centos Panel in a Subdomain
Post by: angelorocha on July 12, 2018, 12:00:36 PM
I want access without port.
Title: Re: Centos Panel in a Subdomain
Post by: studio4host on July 13, 2018, 01:34:39 PM
to access without port you would need to setup apache proxy for that should be simple..you can google it.
Title: Re: Centos Panel in a Subdomain
Post by: angelorocha on July 13, 2018, 04:09:28 PM
Like this:

Code: [Select]
<VirtualHost *:8181>
    ServerAdmin hostmaster@example.com
    ProxyRequests off
    DocumentRoot /home/DOMAIN_DIR
    ProxyPreserveHost On

    ServerName panel.my_domain.com

    ServerAlias panel.my_domain.com

    <Location />
        ProxyPass http://panel.my_domain.com:2030/
        ProxyPassReverse http://panel.my_domain.com:2030/
        Order allow,deny
        Allow from all
    </Location>
</VirtualHost>

?

Thanks!