• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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