| tags:linux plesk sysadmin categories:Tech

Rebuild Plesk 9 Apache Configuration Files

I had a client contact me saying that after restarting his CentOS+Plesk box, all domains were showing the default CentOS Apache page.

httpd -S

showed no domains, and a quick glance at


revealed that it was a bone stock CentOS config file. All data was still there, and the sites were listed in Plesk, but the configuration files were non-existent. Luckily, the following websrvmng command saved the day:

/usr/local/psa/admin/bin/websrvmng -av