Issue: http://domain.com/sample.exe shows 404 error.
Add the following lines to your web.config file inside <system.webServer> tag
<system.webServer>
<handlers>
<add name=ā€¯Client exe" path="*.exe" verb="*" modules="StaticFileModule" resourceType="File" />
</handlers>
</system.webServer> If you have local/remote access to IIS manager, you can add mimetype via IIS.
If you have WebSitepanel control panel, you can do that via control panel >> Websites >> websites properties >> Mime >> on the "Extensions" field add .exe and on "MIME-Type" add application/octet-stream
-------------
Thanks