Closed adam-edmondson closed 7 months ago
We are using a Lightsail CDN.
I have just created a snapshot of the server, restored it into a new instance (without the Lightsail CDN) and i can access the website through this new instance.
Hi @adam-edmondson,
Thanks for using Bitnami. According to Apache's log error message, you need to set the HTTP_HOST
value before the WP_SITEURL
and WP_HOME
keys. Can you update the file? I see it is only defined for the wp-cli
tool at this moment. You will need to add the default definition before that other specific definition. Something like the snippet below (BNDIAGNOSTIC_IP
is a substitution of our tool for security reasons, do not modify that line in the file):
$_SERVER['HTTP_HOST'] = '<place-your-IP-or-domain-here>';
if ( defined( 'WP_CLI' ) ) {
$_SERVER['HTTP_HOST'] = '**BNDIAGNOSTIC-IP**';
}
Once you have updated the file, restart the services for changes to take effect and try to visit the website again
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Platform
AWS
bndiagnostic ID know more about bndiagnostic ID
857527a0-fd43-f65b-7652-8ae221e8e12a
bndiagnostic output
===== Begin of bndiagnostic tool output =====
[Apache]
Found recent error or warning messages in the Apache error log.
Please check the following guide to troubleshoot server issues:
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro rs-apache/
===== End of bndiagnostic tool output =====
bndiagnostic was not useful. Could you please tell us why?
I am unable to determine how to deal with the error
Describe your issue as much as you can
Out of the blue our production webserver is down and the error when you try an access the website is
Error establishing a database connection