• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Redirect customerdomain.com:8443 to serverhostname:8443

LarsK

New Pleskian
When a customer has a problem with a website, we normally would go to customerdomain.com:2222 (2222 because of directadmin) and it would redirect us to the serverhostname:2222. This way we could quickly find out on which server the customer website is located. And we would be on the login page of that server. When I try this on our new Plesk servers I get the plesk login page under the users domain name (customerdomain.com:8443) with SSL cert error, so no redirect to the server hostname.

I found the following support page:

I would have to add:

if ($host !~ 'hostname.com'){
rewrite ^/(.*)$ https://hostname.com:8443/$1 permanent;
}

To /etc/sw-cp-server/conf.d/z-plesk.inc. But wouldn't this also redirect customerdomain.com to serverhostname:8443, not only customerdomain.com:8443?
 
Back
Top