Wordpress multisite GCP not working

Keywords: WordPress Multisite - Google Cloud Platform - Technical issue - Domain Name (DNS)
bnsupport ID: 9eeb861b-b206-b4c9-bdaa-f41f7daf2b44
Description:
I set up a wordpress multisite but it is not working on GCPwith acustom domain, not sure if there is askipped step.
9eeb861b-b206-b4c9-bdaa-f41f7daf2b44 code from support-tool

Hi @ksiziva,

Thanks for using Bitnami. Can you give us more information on what’s not working? I visited your website at xle_REPLACED_ging._REPLACED_.za and it seems to be working fine. What I detected in the wp-config.php file is that you didn’t set the domain name for your main site. Can you check our guide on it?

https://docs.bitnami.com/google/apps/wordpress-multisite/configuration/configure-wordpress-multisite/#configure-the-domain-for-the-wordpress-multisite-main-blog

@gongomgra is there any difference between define( ‘DOMAIN_CURRENT_SITE’, $_SERVER[‘HTTP_HOST’] ); and define( ‘DOMAIN_CURRENT_SITE’, ‘domain.com’ );

Hi @ksiziva,

I’m afraid I don’t have the required knowledge to answer that question, but we found issues login into WordPress Multisite in the past when the main site domain wasn’t configured. We recommend you to open a new question in the official WordPress forums, where someone with more experience using WordPress can answer it

https://wordpress.org/support/forums/

Regards,
Gonzalo