Reconfigure domain information in IIS for Plesk
One of our windows servers had some problems with domains getting disappeared from the IIS configuration. Before running the given commands try to run Plesk reconfigurator hopefully that should resolve most of the issues but it the problem still persists Plesk has included a command tool that can be used to resync domain information within the Plesk database, to the server’s IIS configuration.
You can use the following command to resync doman information between the Plesk database and IIS for a specific domain (replace xyz.com with your domain name):
C:\Program Files\Parallels\Plesk\admin\bin\websrvmng.exe –reconfigure-vhost –vhost-name=xyz.com
After performing this command, the missing domain should have been readded to IIS. This tool can also be used to globally resync ALL domain configurations between the Plesk database and IIS. To do this, you will use the following command:
C:\Program Files\Parallels\Plesk\admin\bin\websrvmng.exe –reconfigure-all
Similarly you can also do the same method for FTP configuraton.
C:\Program Files\Parallels\Plesk\admin\bin\ftpmng.exe –reconfigure-all
__________________
█•UnderHost • Providing Affordable and Quality Web Hosting & Offshore Hosting
█• 24/7 Fast Support / 99.9% Uptime Guarantee
█• UHVPS • Virtual Private Servers & Premium Offshore VPS
█• Hong Kong - Singapore - USA - Canada - Netherlands - United Kingdom - Germany •
|