I have a WordPress website on a Digital Ocean VPS which I've come back to and tried to log into the admin panel through the 'wp-admin' link. For some reason I can't access it now. The website gets redirected to 'http://%24domain/wp-admin/' which is a broken link.
Here are the current things that I have tried but nothing has worked so far:
Renaming the plugins directory so they appear deactivated
Keeping the theme/plugin files but re-uploading the core WordPress files
Deleting the .htaccess in the root directory
None of these have worked and I have no idea why the admin panel can't be accessed and redirects to that domain.
Can someone help me get the admin panel working again? Any help is much appreciated!