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

Post Reply
User avatar
Site Admin
Posts: 937
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

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


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

Posts: 9
Joined: Sat Apr 09, 2022 1:17 pm

What to do if I try to reach admin page without Secret URL and screen shows log-in page instead of expected blank page?
Posts: 2
Joined: Sun Feb 04, 2024 2:03 am

Hi there,

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

Post Reply