Help configuring nodered+apache2 (create subdomain)

Hi, I've installed node-red in VPS with domain name, it's works normally under However I want to make the url it tidier by creating subdomain using apache2. Here's my configuration:

<VirtualHost *:80>
        ServerAlias *
        ProxyRequests Off
        ProxyPreserveHost On
        ProxyPass / http://localhost:1880/
        ProxyPassReverse / http://localhost:1880/

The flow editor is giving me Lost connection to server message, the console message is WebSocket connection to 'ws://' failed:
Any idea how to fix that? I'm very newbie on networking stuff and most of configuration I've made just by following tutorial on internet.
I think the general function works normally, but it just annoying to have that message.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.