How to see, set, change or delete secret-URL of hosting panel
Posted: Wed Jul 29, 2020 2:39 pm
Without passing through secret-URL, your browser will show only blank screen.
------------
In order to see current secret-URL, do in your SSH:
If you already have secret-URL, yow will see a line that looks like this:
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:
----------------------------------------
In order to change or set (create) secret-URL, do:
Paste this into the file:
Change the string between quotes (in this example it's SOMETHING string).
Save the file.
----------------------------------------
In order to remove secret-URL, do:
------------
In order to see current secret-URL, do in your SSH:
Code: Select all
sudo cat /usr/local/vesta/web/inc/login_url.php
Code: Select all
<?php $login_url='SOMETHING';
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
Code: Select all
<?php $login_url='SOMETHING';
Save the file.
----------------------------------------
In order to remove secret-URL, do:
Code: Select all
sudo rm /usr/local/vesta/web/inc/login_url.php