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

Post Reply
User avatar
myVesta
Site Admin
Posts: 904
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 7 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

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

Tags:
Post Reply