I have my subdomain pointing to my server IP.

I have enabled

sudo a2enmod proxy 
sudo a2enmod proxy_http 
sudo a2enmod proxy_wstunnel

Here is my virtualhost.conf file contents:

ProxyRequests off

<Proxy *>
    Order deny,allow
    Allow from all
ProxyPass /socket.io/1/websocket ws:/myserverip:4567/socket.io/1/websocket
ProxyPassReverse /socket.io/1/websocket ws://myserverip:4567/socket.io/1/websocket

ProxyPass /socket.io/ http://myserverip:4567/socket.io/
ProxyPassReverse /socket.io/ http://myserverip:4567/socket.io/

ProxyPass / http://myserverip:4567/
ProxyPassReverse / http://myserverip:4567/

closed as too broad by dan Jun 10 '16 at 0:09

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    In what way is it not working, what is happening, what errors are you getting, providing more information would be good. – Chris Rutherfurd Apr 11 '16 at 7:04

Browse other questions tagged or ask your own question.