- 最新
- 投票最多
- 评论最多
Hi,
I can see that your site right now loads on both the Static IP and the domain-name correctly, but isn't secure i.e. (HTTPS is not enabled)
So do the redirection/wrong IP/etc issues also only occur after you install the SSL certificate? Or have the other on-host IP config issues been resolved now some other way?
Also to setup SSL on Lightsail WordPress instance, instead of bncert, you could try the Guided workflow option documented here - https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tutorial-launching-and-configuring-wordpress.html#set-up-wordpress-instance-website
Thanks.
Some things to look at:
-
SSL Certificate Installation: The "white screen" error after installing an SSL certificate could be due to WordPress not properly recognizing the HTTPS protocol. This often happens when the site URL in WordPress settings hasn't been updated to use HTTPS.
-
Static IP Redirection: The behavior you're seeing where the domain redirects to showing the Static IP in the address bar on Android Chrome could be related to how your DNS is configured or how WordPress is handling redirects.
-
Static IP redirecting to another IP: This is unusual behavior and not typical for Lightsail static IPs. Static IPs in Lightsail are dedicated to your account and should only be attached to one instance at a time. The redirection you're experiencing might be due to a DNS propagation issue or a misconfiguration in your domain settings.
-
Command not found errors: The commands you mentioned (configure_app_domain and bnconfig) are specific to Bitnami-powered instances. If these commands are not found, it's possible you're not using a Bitnami WordPress image or the commands have been moved or renamed in a recent update.
To troubleshoot these issues:
-
Verify your DNS settings to ensure they're correctly pointing to your Lightsail static IP.
-
Check your WordPress configuration, especially the site URL and home URL settings in the database and wp-config.php file.
-
Review your web server configuration (Apache or Nginx) for any unexpected redirect rules.
-
Ensure you're using the correct Bitnami WordPress image if you're relying on Bitnami-specific tools.
-
Try clearing your browser cache and testing from different devices and networks to rule out local caching issues.
Sources
My Lightsail static IP is also assigned to another website which I don't own | AWS re:Post
Static IP addresses in Lightsail - Amazon Lightsail
