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 – http://18.104.22.168
/wp-admin works fine and, for example, the Hello World post works (http://22.214.171.124/index.php/2017/05/21/hello-world/)
When I go to /var/www/html/index.php I get:
<?php 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