cPanel 11.24.4-R34548 - WHM 11.24.2 - X 3.9
I'm doing maintenance on a client's cPanel system. He recently had someone else working on it, but I don't know what all was done. When this other person was done with it, all his subdomains became redirects (sub.example.com redirecting to www.example.com/sub).
I went in and removed the redirect on one of the subdomains, and now sub.example.com is redirecting to www.example.com/index.php. If I load www.example.com/sub, the site loads as it's supposed to.
I've checked for .htaccess issues, httpd.conf and looked for any custom includes for that domain (none existed). I've also found the cPanel apache config at /var/cpanel/userdata/<user>/sub.example.com and everything in there looks fine - the data in there matches what's in httpd.conf.
I'm not a cPanel guru or anything, but I'm fairly proficient with apache and I think I've been fairly thorough in looking for what's causing this from an apache perspective.
I've found lots of info via google on how to set up a redirect, but nothing on how to solve for an unwanted redirect.
Any tips?
TIA
I'm doing maintenance on a client's cPanel system. He recently had someone else working on it, but I don't know what all was done. When this other person was done with it, all his subdomains became redirects (sub.example.com redirecting to www.example.com/sub).
I went in and removed the redirect on one of the subdomains, and now sub.example.com is redirecting to www.example.com/index.php. If I load www.example.com/sub, the site loads as it's supposed to.
I've checked for .htaccess issues, httpd.conf and looked for any custom includes for that domain (none existed). I've also found the cPanel apache config at /var/cpanel/userdata/<user>/sub.example.com and everything in there looks fine - the data in there matches what's in httpd.conf.
I'm not a cPanel guru or anything, but I'm fairly proficient with apache and I think I've been fairly thorough in looking for what's causing this from an apache perspective.
I've found lots of info via google on how to set up a redirect, but nothing on how to solve for an unwanted redirect.
Any tips?
TIA