wp-admin slow in multisite

I ended up enabling WP_DEBUG and found an error – something about fsockopen() not being able to connect to my host (I didn’t write it down and now can’t reproduce it) – and found that it was a DNS issue;- my subdomain (foo.example.com) was resolving to the correct IP (10.0.0.1) but the primary domain wasn’t.

I’m in the process of cloning & replacing a live server, external IP 10.0.0.1, internal IP 192.168.0.1; the new server has internal IP 192.168.1.1 (different subnet) and the external IP is accessed via a second interface. Adding the correct DNS entry in /etc/hosts fixed the problem:

10.0.0.1    example.com     www.example.com

Leave a Comment