Centos Panel in a Subdomain

Started by angelorocha, July 11, 2018, 05:59:29 PM

Previous topic - Next topic

angelorocha

Hi!

How to access my centos web panel by a subdomain.

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

Thanks!

Administrator

simply by adding port at end
2030 & 2031 for admin
2082 & 2083 for user

http://panel.mydomain.com:2030

angelorocha


studio4host

to access without port you would need to setup apache proxy for that should be simple..you can google it.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

angelorocha

#4
Like this:

<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!