• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problem with domain in apache

lucaDF

New Pleskian
Hi,

we have a problem with a domain not loaded. Here's the step we took so far:

1. Installed lighttpd
2. Installed Plesk
3. Learnt that Plesk doesn't support lighttpd conf files.
4. Uninstalled lighttpd
5. Installed Apache

Now the problem is that plesk doesn't seem to see the domain we created.
The dir is phisically present (/var/www/vhosts/domain_name.ltd/) but apache still loads from the default dir (/var/www/html)

I've tried forcing the reload of the domains with:
/usr/local/psa/admin/sbin/httpdmng

but with no luck.
We don't want to uninstall the plesk for a fresh install, because we would lose all the configuration, ftp, files made so fare.

Is there anyhow to solve this?

here's the uname -a result:

Linux domain_name.ltd 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
 
Last edited:
Really strange history of using Plesk...
Anyway try bootstrapper repair at lease of transvhost.pl utility. Maybe it will help. Also check variable for vhosts in plesk.conf
 
The script transvhost.pl moves the files from a wrong directory to the right one if I got it right. But what we need is apache to see the plesk configuration for every domain.
 
lucaDF, how did you install Apache? And why did you need to do it separately? Plesk would have installed it anyway.

1) Remove your Apache (via package manager). Make sure you don't remove Plesk along with it (use something like '# rpm --nodeps -e httpd' if required).
2) Cleanup any leftover configuration files generated by Plesk (particularly in /etc/httpd/conf.d or similar; the files will be marked as autogenerated in their headers).
3) Launch Autoinstaller and make sure Apache component is selected. Perform update.
4) Reconfigure webserver: # /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Back
Top