• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Need Support for changing the plesk gui url

ballibum

New Pleskian
Hi,
i´m sorry for my bad english. i´m using plesk on a ubuntu 18.4 with Obsidian 18.0.24. I manage only one url with plesk. I want to start the panel by a subdomain. So i change the hostname via Tools&Settings -> General Settings ->Server Settings (i´ve checked /etc/hosts and the hostname is changed) and i also used the command line with "plesk bin admin --enable-access-domain plesk.domain.com". But i only getting the admin gui with subdomain.domain.com:8443. If i´m using it without the port i´m getting the web server's default page - so to get the admin panel i can use every subdomain or domain, i only have to add the port.
But i still want to use these one and only subdomain to get the admin gui.

Thanks a lot for helping me
 
Hi ballibum,

"plesk bin admin --enable-access-domain subdomain.domain.com" should be enough for configuring but there are exist two pre-requirements:
  1. "subdomain.domain.com" should be resolved to the right IP-address.
  2. "subdomain.domain.com" should not be created as a subscription in Plesk Panel; otherwise, you will see the content of this subscription

---

I have tried to open the link from your first message and it opens Plesk Panel login form, it looks like everything works. When you open this domain by HTTP (not HTTPS) link, it will show a default page with a light blue button "Login to Plesk". It is expected behavior because the HTTP protocol is not secure.
 
Thanks for the fast reply.

Okay, if i´m using https it works very well. Is it possible to disable https://allother.domains.com:8443 and only use plesk.domain.com ?
And is it also possible to disable http or redirect permanently to https ? I ask for the plesk way ;-), maybe if i configure something in the apache i will destroy some other plesk configurations ?

best regards
 
Hi, i´ve git an other question for the login url. at the moment i can use https://plesk.domain.tld and i get the login panel. When i using http://plesk.domain.tld i ´m getting the web server´s default page.
Is it possible to active the permanent seo-safe 301 redirect from http to https for the gui domain?

happy eastern and please stay healthy
ballibum
 
Hi ballibum,

We have fixed the bug (PPPM-11407 ) like that in Plesk Obsidian 18.0.23:
- HTTP > HTTPS redirect now works correctly for domains that are configured to be used to access Plesk. (PPPM-11407)
(c) Change Log for Plesk Obsidian

Do you use the last Plesk Obsidian version?

---

...but there is important to use correct steps to configure access to Plesk:
  • to create a subscription with required domain and SEO-safe redirect (an example for CLI, but maybe it should be adapted for your server; otherwise, it could be done with GUI too):
Code:
plesk bin subscription --create plesk.domain.com -owner admin -login cp-access -passwd $(head -c 32 /dev/urandom | base64) -ip $(hostname -i) -hosting true -ssl true -ssl-redirect true
  • Now, it could be used as a dedicated domain for access to Plesk (an example for CLI again):
Code:
plesk bin admin --enable-access-domain plesk.domain.com
 
Back
Top