• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Locked my self out!

Rasmus

New Pleskian
Hello Plesk users!

I'm new to the forum and a bit new to Plesk and linux. However, I have plesk setup and installed.

But my problem is that, I have restrictions, so only a special IP can login on the admin account.

But today I got a whole new router, because the old one was buggy and had a lot of problems. This means that I got a new IP. I did not think of that, so now I'm locked out from my Panel and have no idea how to whitelist my new IP.

I'm using Plesk Centos 6!:)

Warm Regards.
 
In command line issue the commands:

mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "DELETE from cp_access"
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "UPDATE misc set val='allow' where param='access_policy'"
 
In command line issue the commands:

mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "DELETE from cp_access"
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "UPDATE misc set val='allow' where param='access_policy'"

Thank you very much, sir!

That worked like a charm!:)

I got another problem tho, if you maybe know what the issue is. The problem is that, I can access my website www.mydomain.com, and /forum etc, but I cannot access www.mydomain.com/fastdl/deathrun, which only cotains files.

I'm reciving this error when trying to access that directory: http://prntscr.com/9y1jfb.

I have tried to change the permissions to 777 on all files and directory inside /fastdl, but that didn't help.

Warm Regards.
 
I solved the problem.

I created a .htaccess with this in it:

Options +Indexes

That fixed my problem!
 
Back
Top