I'm having a horror of an issue with inserting images into a WordPress site.
Although I can upload images fine to the Media Library, when it comes to inserting them into a post/page, the status bar shows 'Connected to http://www.mydomain.com' or 'Waiting for http://www.mydomain.com', but after about 30 seconds the Add Media window displays 'The connection was reset - The connection to the server was reset while the page was loading.'
I can add images as as the Featured Image for a post, but whenever I try to actually insert them this 'connection was reset' thing occurs.
I've tried about a dozen different things to resolve this, including deactivating all plugisn, reinstalling WordPress, checking the file upload path and the site address in Settings, and nothing fixes it.
In despair, I made a duplicate of the site in another subfolder of my hosting. In that, images inserted absolutely fine, so I repointed http://www.mydomain.com at the duplicate, hoping that would sort it out. But as soon as http://www.mydomain.com started resolving to the duplicate version, the image insert issue started happening again. Further, the original version started working again once it didn't have the domain resolving to it!
Can anyone shed any light on why this is happening and why having http://www.mydomain.com resolving to my site seems to be breaking the insert image function in WordPress?
I have had to move the site from one webhost to another recently, so is it possible that I'm missing something in the configuration? (Although, again, everything works fine while the site doesn't have its domain pointing to it and is sitting at http://www.myhostaddress.com/mysite) - it's only when the domain is pointing it that things go wrong).
I'd be insanely grateful if anyone could help!