1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problem with domain in apache

Discussion in 'Plesk 11.x for Linux' started by lucaDF, Jul 27, 2012.

  1. lucaDF

    lucaDF New Pleskian

    10
     
    Joined:
    Jul 27, 2012
    Messages:
    4
    Likes Received:
    0
    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:
    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:

     
    Last edited: Jul 27, 2012
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    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
     
  3. lucaDF

    lucaDF New Pleskian

    10
     
    Joined:
    Jul 27, 2012
    Messages:
    4
    Likes Received:
    0
    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.
     
  4. Nikolay.

    Nikolay. Silver Pleskian

    17
    35%
    Joined:
    Jul 1, 2012
    Messages:
    844
    Likes Received:
    2
    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
     
Loading...