Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Running Wordpress 3.1.2 (newly updated, installed as 3.0 about a year ago) with subdomain multisite & using the Sunrise domain mapping plugin.

The frontend is fast, the backend (wp-admin) is very slow on the network admin site (www.example.com/wp-admin) but runs at "normal speed" on one of the subdomain backends (foo.example.com/wp-admin).

The server is our own, Ubuntu 10.04 with mod_security (which I've heard can slow things down).

Is there anything I can do to speed up the backend or run a trace somehow?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

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
share|improve this answer
    
Could you edit your post and add the error message you found and what you had to add to your hosts file? Are you using the domain mapping plugin with Sunrise? –  Chris_O May 3 '11 at 3:41
    
@Chris_O I forget the exact error & couldn't reproduce it, but I've filled in as much as I can. –  Andrew May 3 '11 at 6:09
    
thanks. –  Chris_O May 3 '11 at 6:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.