• 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

Resolved Custom Login Page

Shane O-Mac

New Pleskian
Hi,

I am wondering if someone could provide me some sample code to allow me to create a login form from outside of Plesk for multi Plesk servers to make it easier for me to have one login link instead of 3 or 4 links on one page.

Any help would be much appreciated.

Kind regards

Shane
 
Hi, Shane!

If I understand correctly you want to simplify logging in process to many plesk servers.
You can get quick access to Plesk via this URL:
https://<server-host-or-ip>:8443/login_up.php3?login_name=<login>&passwd=<password>&success_redirect_url=<success_redirect_url>&failure_redirect_url=<failure_redirect_url>

Details here: Automatic Logging in to Plesk

You can compose list of URLs for easy logging in and add it to browsers bookmarks or make html-document.
 
Last edited:
Hi,

Thanks for that but I am mainly after the following

login.PNG


Like the image but with a drop down menu to select the required server.
 
Why don't you tie it into your billing system so that it pulls the required server automatically?
 
We will be but we are having a page on our website for customers to access plesk

Sent from my Pixel XL using Tapatalk
 
Try this sample::
Code:
<form name=loginform method=get action=https://webhost-win.demo.plesk.com:8443/login_up.php>
<select name=server onchange=document.loginform.action=document.loginform.elements["server"].value;>
<option value=https://webhost-win.demo.plesk.com:8443/login_up.php>webhost-win.demo</option>
<option value=https://webhost-lin.demo.plesk.com:8443/login_up.php>webhost-lin.demo</option>
</select>
login: <input name=login_name type=text value=admin>
password: <input name=passwd type=password value=panel>
<input type=submit>
</form>
 
Last edited:
Back
Top