Apache problem after moving domain between users

dderder

New member
Joined
Dec 9, 2016
Messages
4
Hi everyone,

this is really tough to explain but I've been searching for days and can't find a solution on my own;

it started with me moving a domain between users like this:

cd /usr/local/directadmin/scripts ./move_domain.sh domain.com olduser newuser

This domain zzz.tld hosts a Wordpress multisite. This works by pointing domain pointers to it's subdomains.
So site yyy.tld points to yyy.zzz.tld etc.
After a while the sites where reachable and I thought all was fine.

After a week or so I was asked why the sites where showing the "apache is functioning normally" page.
The client has the "apache... " message 9 times out of 10 and sometimes nothing can be done about it for a long time, but then again sometimes the site shows after all, sometimes with timeouts (css not loaded etc), sometimes just as normal.

I cannot reproduce this problem at home or anywhere else, except once in a hotel abroad! All is normal here.

Restarting apache seems to help for a short while but that could be a coincidence.
I visited the client with my laptop and using their wifi had the same issue. I'm on the same ISP at home and when I login to the roaming Wifi from that same ISP at the client's place all worked normally again.

I've checked the httpd error log for the domain and can't find an error for this.
I checked the .htaccess for the WP redirects and all is as it should be.
I've checked the wordpress database for instances of hardcoded paths pointing to the old user folder and found 2 unimportant ones. Changed them but that doesn't do anything.

more clues;
-adding the DA port to that domain does open the directadmin login immediately so the problem is only with port 80. Subfolders in that domain that have nothing to do with wordpress (zzz.tld/subfolder) are also not found while the problem is acting up so it does not seem to be a WP issue.
-there's 2 computers on that network at the client and one has a IPv6 and that one never reaches the sites.
-when I connected with my laptop I also had a IPv6 from the router and I could not reach the site at all.
-the other pc there reaches it 1 times out of 2 (with and without delays)

My knowledge of this is not big enough to solve this. Why would apache serve the sites for the domains on 99,9% of the places but show "apache is functioning for 1 or 2 special locations? Is the IPv6 clue important?

Any help or tips would be greatly appreciated, I'm usually able to solve problems by searching the web but this time I have to admit defeat (for now ;-) )

Thank you!!
 
writing everything down helps..

sorry about the long explanation..
I did really look for a long time but just writing it down made it clear the it had to be something to do with the IPv6 clue.

Moving the domain to another user did not move the IPv6 addresses with it. So I've removed them from the old user and added them to the new user. Hopefully that works for the client.
 
Back
Top