Hello All,
After spending sometime today setting up my Plesk Server for staging, I’ve run into some issues. I got it to work on Windows 2022, here is how:
This setup is strictly for Windows Plesk Server:
We will use “httpdocs” to host our app.
- Inside of Wappler targets ftp setup remote Directory:
- Go into “Websites & Domains” > “Hosting Settings” and ensure that “Document Root” is equals to
httpdocs
- Go into Node.js settings and ensure that BOTH “Document Root” and “Application Root” are pointing to
/httpdocs
. They should be the same. (I know, I know… Wappler docs said differently, but this is for Windows and Plesk docs said this is the way for Windows)
- Using file manager’s “Change Permissions” ensure that “Application pool group” has all permissions on
/httpdocs
directory. This is required for when we run build inside httpdocs
- Create a file called
web.config
inside/httpdocs
<configuration> <system.webServer> <rewrite> <rules> <rule name=“server“> <match url=“/*“ /> <action type=“Rewrite“ url=“index.js“ /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Community Page
Last updated:
Last updated: