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.
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?
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?