Skip to content

Lightsail and WP - I can not login to WP-Admin : The username user is not registered on this site.

0

I just set up my lightsail. before setting up my domain, with the static ip address, i tried the WP-Admin login with the username "user" and it was working perfectly fine...

Than i set up my domain with DNS. Now my website is available on the right domain, but when i try to login to wp-admin with the user name "user" and the default password from lightsail, i get the fallowing error:

Error: The username user is not registered on this site. If you are unsure of your username, try your email address instead.

asked 10 months ago125 views
1 Answer
0
Accepted Answer

It appears that you're experiencing an issue with your WordPress admin login after setting up your domain with DNS on your Lightsail instance. This problem can occur due to various reasons, but there are a few steps you can take to troubleshoot and resolve the issue:

  1. First, ensure that your DNS settings are correctly configured and pointing to your Lightsail instance's static IP address. Sometimes, DNS changes can take time to propagate, which might cause temporary access issues.

  2. If you're certain that the DNS is set up correctly, the issue might be related to the WordPress configuration. When you set up your domain, it's possible that the site URL in WordPress was updated, which can sometimes cause login issues.

  3. To address this, you may need to reset or update the WordPress admin password. There are two main methods to do this:

    a. Using the WordPress CLI command 'wp user update': This requires SSH access to your Lightsail instance and WordPress CLI to be installed.

    b. Configuring the wp-config.php file: This involves accessing your WordPress files and making changes to the configuration.

  4. If you're unable to log in with the username "user", try using the email address associated with the admin account instead.

  5. In case none of these steps work, you might need to check your WordPress database to ensure the admin user still exists and has the correct permissions.

  6. As a last resort, if you have a recent backup or snapshot of your Lightsail instance from before you set up the domain, you could consider restoring from that backup to regain access.

Remember to always keep backups of your WordPress site and database before making significant changes. If you continue to experience issues, you may need to perform more in-depth troubleshooting or consider reaching out to AWS support for further assistance.

Sources
Reset the WordPress admin password | AWS re:Post
Lightsail/WordPress Site and Subdomain Suddenly Down – Unable to Access | AWS re:Post

answered 10 months ago
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.