• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

no matter the changes done in plesk, server goes to /var/www/html

J

joebloe3000

Guest
This is a mid-line server I got at ThePlanet. They installed everything and it never worked. After 1 month of troubleshooting, I now have plesk working but the domains I create in plesk don't affect what I see when I go to it.

this is what i'm told.

If you really want to change this, you can modify the path site data is stored at by editing the psa.conf file located at /etc/psa/psa.conf

Find the line following lines:
# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts

You can change it there. Once you change hit, you must restart Plesk, and then run the following command to make Plesk rewrite apache configs to use the new path:

/usr/local/psa/admin/bin/websrvmng --reconfigure-all

now, if HTTPD_VHOSTS_D points to /var/www/vhosts and what I get on the server is /var/www/html something tells me that apache isn't even reading the changes made my plesk.

in /etc/httpd/conf the documentroot is set to /var/www/html, same as the <Directory> line that follows.

Virtual host is also not configured at the bottom of /etc/httpd/conf

I've been working with LAMP for a while but never used Plesk and even though I use virtual hosting in apache all the time, not quite sure what to do to get Plesk and Apache to work together instead of ignoring each other.

I'd like to fixe so I can use plesk to manage everything. Anyone have any ideas?
 
Back
Top