Page 1 of 1

How to see, set, change or delete secret-URL of hosting panel

Posted: Wed Jul 29, 2020 2:39 pm
by myVesta
Without passing through secret-URL, your browser will show only blank screen.

------------

In order to see current secret-URL, do in your SSH:

Code: Select all

sudo cat /usr/local/vesta/web/inc/login_url.php
If you already have secret-URL, yow will see a line that looks like this:

Code: Select all

<?php $login_url='SOMETHING';
The string between quotes is your secret URL (in this example it's SOMETHING string).

If you don't have secret-URL - you will get empty or not-existing file - if you want to create it - see next section.

To use this secret-URL, you can point your browser to:

Code: Select all

https://yourhostname:8083/?SOMETHING
----------------------------------------

In order to change or set (create) secret-URL, do:

Code: Select all

sudo mcedit /usr/local/vesta/web/inc/login_url.php
Paste this into the file:

Code: Select all

<?php $login_url='SOMETHING';
Change the string between quotes (in this example it's SOMETHING string).

Save the file.
----------------------------------------

In order to remove secret-URL, do:

Code: Select all

sudo rm /usr/local/vesta/web/inc/login_url.php

Re: How to see, set, change or delete secret-URL of hosting panel

Posted: Sat Jan 27, 2024 10:04 pm
by kjernekrafttrikk
What to do if I try to reach admin page without Secret URL and screen shows log-in page instead of expected blank page?

Re: How to see, set, change or delete secret-URL of hosting panel

Posted: Sun Feb 04, 2024 2:21 am
by patapouf
Hi there,

Do you think it could be possible to get one secret url per user account? To make it more personalized for customers.

Thanks.