• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

How to run the Admin panel in a Subdomain?

dragnovich

Basic Pleskian
Hello I had some customers that can't access their control panel, because they are behind a firewall or proxie, but they ABSOLUTELLY CAN'T CHANGE/MAP/FORWARD/GRANT/GET access to the 8443 port... the only solution is. Mapping the Control Panel to a subdomain of my site...

like:
https://cp.myhost.com/

This means i need it TO RUN in the standard https: port 443 in the cp subdomain in the myhost.com domain

I search the forum and DID NOT see any instructions about how to do it ... just some persons saying I DO IT! :rolleyes:

but HOW!! ?? :mad:

So how can I do that!
(preferebly ADD it as an option to access the Admin Panel, I mean left the actual 8443 port for the other sites, but this is not totally necesary , if cant be mixed I prefer to use the subdomain option and stop using the 8443 port)

better yet add it as the WEBMAIL.<domain> subdomain on all sites, that will be added in all sites. (cp.<domain>

Thanks!.
 
you need to proxy HTTP requests from your client to your admin panel. google for mod_proxy (apache module). put mod_proxy directive in the virtualhost of your subdomain.
 
I had installed the proxy module but I can't make it work it gives me a forbidden error.. so what's wrong?? Or what do I need to add/remove??

I had added the "cp" A record in the domain DNS, and this configuration, to the SERVER /etc/httpd/conf/httpd.conf file...

PHP:
<IfModule mod_proxy.c>
   ProxyRequests Off

   ProxyRemote https ://cp.myhost.com/ https ://www.myhost.com:8443

   <Proxy *>
      Order deny,allow
      Deny from all
      Allow from .myhost.com
   </Proxy>
</IfModule>

The MOD_PROXY is working because If I remove it it sends me an 404 error, and when Active I got a Forbidden error (403) error

Regards!

Note: I added the spaces between the http to avoid the forum program to add the URL links.
 
Back
Top