• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

All domains read certain files only from /var/www/vhosts/default/htdocs

compil3r

New Pleskian
Hello everybody.

I am having a weird issue with my Plesk 11.5.30 on CentOS 6.5 (dedicated server), I've been searching for 3 days and trying many things but nothing seems to work.

The issue is, whenever I add a new domain, migrate a test site and load it, it becomes very slow, errors on log keep saying that the files are not found in /var/www/vhosts/default/htdocs instead of looking on /var/www/vhosts/domain.com/httpdocs.

The files are php scripts and jpg images. Maybe css too, not sure, but if I upload a test html file, on the domain httpdocs, it loads fine.

So what I did was to copy all the test site (it's a wordpress site, was working just fine on another server, a shared one) to the default/htdocs location, and all errors are gone. I can see images and all.

I tested the same with another domain, same thing. I've tried:

1. /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
2. Check apache conf file, the global one and the domain one. On the domain one, the correct /var/www/vhosts/domain.com/httpdocs is there.
3. Delete the whole domain, and recreate all from scratch
4. Make a new webspace from power user, and add a domain there
5. Turn OFF SELinux (was already off)
6. Turn off NGNIX (was already off, installed it, turned on, used it a bit, and then off again, same result)
7. The sw-sso package issue (http://kb.parallels.com/en/114490)
8. And maybe more I can't remember. Nothing works!

So, I am missing something obvious here? I really don't see the solution, nothing I've tried works.

I was thinking... maybe a bad php config is the culprit? something like the open_basedir? Just checked and it's correct, but I am really lost here.

Any help will be appreciated.

Thanks in advance!
 
Anyone?

Last night I was checking the wordpress vars, absolute path gives the correct one, so I know the problem is not wordpress (also it was working OK on other server).

So it must happen at apache level... any ideas?

Thanks again!
 
If I can't fix this, I will migrate to cPanel, it's incredible that something like this happens and there's nowhere to search and fix it... It's like conf files are being ignored.
 
The most likely issue is that the site is configured as a different domain or IP than what is actually being requested. I know you probably already checked this, but just to be safe - you've surely ensured that the IP address you're requesting it from is the exact same IP as the one you mapped within Plesk, and the domain is exactly the same as well? That is, if the site is example.com and was setup on 10.0.0.1 in Plesk then you added this to your local hosts file for testing (and then rebooted to ensure it was properly reloaded);
10.0.0.1 example.com
 
Hi shall, thanks for the reply.

The domain in question is not listed on /etc/hosts, I need to manually add it? This is not made automatically when I add the domain in Plesk?

Thanks
 
Back
Top