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

Removing X-Powered-By-Plesk: PleskWin

Chuck Verc

New Pleskian
Hi,
does anyone know of to get ride of <X-Powered-By-Plesk: PleskWin> header that is added by plesk ?

I know I can access IIS and remove it on a domain by domain basis but since it's not listed in the IIS default Headers, I don't know how to remove it for every domains (new and old)

Thanks

edit: Using Plesk 11 latest updates on Windows 2012 server fully updated as well
 
Last edited:
Adding this header is hardcoded in websrvmng.
You can try to use utility AppCmd for IIS for removing this headed for old domains and use it as command for Event Manager for domain creation event.
 
Open the following file in your favourite text editor with administrator permissions:
C:\Windows\System32\inetsrv\config\applicationHost.config

Then search for "X-Powered-By-Plesk" and remove the related XML elements.

Hope this helps...
 
If you want this "X-Powered-By-Plesk" Header to be removed from EVERY NEWLY created domains, you can create a default web.config file within the "httpdocs" folder of the "Default Host Template". This default website template is usually located under : "C:\inetpub\vhosts\.skel\0\httpdocs".
That web.config file will be used by default when you create a new website.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By-Plesk" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>



PS: Additionally, you can use this default web.config file to set all configuration parameters you want to use for every new website (in example : to define a list of default documents for your websites, as explained on this Plesk Help article : https://support.plesk.com/hc/en-us/...-default-document-settings-in-Parallels-Plesk )
 
Adding this header is hardcoded in websrvmng.
You can try to use utility AppCmd for IIS for removing this headed for old domains and use it as command for Event Manager for domain creation event.
Hi IgorG, how would I listen for "Event Manager for domain creation event" ? I would need to run a specific PowerShell or VbScript file to perform some customizations to the newly created website (not possible with template files).
Is that in the Windows Event Viewer ? I've never done such a thing... Thank you for you starting point and any clue ;)
 
Back
Top