subdomain not forwarded to correct virtual host

#1
Instead of showing the site that the subdomain is mapped to in the listener the general (fall-back) virtual hosts site is shown.

I have the subdomain mapped to the virtual host for the default and defaultSSL listeners:

1705526188338.png

I'm not sure about the URI in the virtual host context setting. I tried /node/ as well as /:
1705526370934.png

There's a folder node inside /usr/local/lsws/WKB/ that contains file server.js so I guess this should work?

But something isn't right since I don't get to see the message that server.js should display, but instead the message that is displayed by the app in the fall-back virtual host (Example). The file server.js works fine however (shows message if I run node server.js inside the WKB folder).

Any ideas how to solve?
 
Top