• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved plesk login is giving the wrong ip address in url

Server operating system version
Ubuntu 20.04 x86_64
Plesk version and microupdate number
Plesk Obsidian 18.0.49.2
i restored a backup of a server which runs plesk. when trying to access this new server plesk panel, it redirects to the old server which is still running

plesk login is the command i am running to get the url of the plesk panel
 
Have you flushed the DNS cache of your local network, updated the IP address of the server's domain (hostname) and also cleared your browser cache?
 
The server is hosted on Digital Ocean, nothing to do with my local environment. I will do these steps on the virtual machine though. Thanks for the help.
 
Did you follow steps (1) through (4) of the above mentioned article? Then it is not possible that the plesk "login" command still shows a wrong hostname.
 
followed and the results of the restart:

root@plesk18043onubuntu2004-s-8vcpu-16gb-lon1-01-1680254067123-s-8vcp:~# service sw-cp-server restart
root@plesk18043onubuntu2004-s-8vcpu-16gb-lon1-01-1680254067123-s-8vcp:~# service sw-engine restart
 
i restored a backup of a server which runs plesk. when trying to access this new server plesk panel, it redirects to the old server which is still running

plesk login is the command i am running to get the url of the plesk panel

This is to be expected. If you restore a (full server) backup on a different server the host name of source server gets restored too. Since it seems your server is using an automated generated host name from Plesk (ending in the plesk.page postfix) you have no way of adjusting the DNS record for this host name to point to the IP of your new server. And Plesk won't generate a new host name for you when a backup gets restored.

So the solution here would be to login to Plesk on your new server via the servers IP address (123.123.123.123:8443) and set a custom host name via Tools & Settings > Server Settings. Something like srv.yourdomain.com. And create DNS record(s) for the this hostname to point the IP of your new server and also set the reverse DNS in your DO account for this droplet.
 
Back
Top