I have just deployed a wordpress image on GCP Compute Engine and whenever I go to the site’s IP address it just shows the standard apache “It works!” page but all other links on the site are working.

Site IP –

/wp-admin works fine and, for example, the Hello World post works (

When I go to /var/www/html/index.php I get:

define('W_USE_THEMES', true);

require( dirname( __FILE__ ) . '/wp-blog-header.php' );

Any help would be much appreciated

Read more here: GCP – WordPress Homepage not showing


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: