Changing primary domain of wodpress multisite

December 12, 2015 1.2k views
WordPress Nginx LEMP


I have a wordpress multisite subdomain based installation.

I was trying to change the primary domain for the multisite following the tutorial

My goal

My main site :
Has subdomain sites :,

What I wanted to achieve
change my main site :
Should have the subdomain sites :,

Since, I am using multisite setup, I changed the "DOMAIN_CURRENT_SITE" .

Original entry

Modified entry

As soon as I modify the domain current site to, I am not able to login. I do not get any error but wp-admin login page is only displayed.

Any suggestions ?

Be the first one to answer this question.