New in 4D v11 SQL Release 2 (11.2) is the constant to find where the Webfolder is to be located when publishing web pages.
Use the command:
Get 4D folder(HTML Root Folder)
This command can be used to determine where to place the web pages if you are not sure. You should assign it to a variable, so you can call an Alert with the information, or to put in a stop point for debugging. For example:
$loc:=Get 4D folder(HTML Root Folder )