Questions for the guru's
So I got my virtual server up and running and I decided to use virtualmin/webmin to assist me rather than use all the command line codes (ouch my eyes/head)
My question now is, how do I get nodebb to stop using the port number after the domain name? (ie. mydomain.com:port)
Thanks for the feedback!
I've read some forum post about this, https://github.com/designcreateplay/NodeBB/wiki/Configuring-Apache-as-a-proxy-to-NodeBB
but when I try: sudo a2enmod proxy_html it says the module isn't there.
Thanks in advance for the help!
I by myself haven't used either so I can't tell you how exactly to enable the modue proxy_html or set up nginx instead
Well , I think it installed apache onto the server but I'm just playing around with it at this point to see what works best.
Ya, I meant installed for some other reason than NodeBB proxying
I'm a little intimidated by the command line at this point so I was looking to see if a simple gui system could help me as I ease into the command lines. The tutorial that was written to set up node.js and nodebb was perfect but I just don't know how the directory structure of ubuntu works. Guess it's my personal learning experience Thanks for your help and suggestions.
apt-get install libapache2-mod-proxy-html && service apache2 restart
But you will still probably be missing wstunnel module which you will have to compile by yourself if you're running an apache 2.2.X version (check with
Nginx is far better for this job (will work faster and use less resources): https://github.com/designcreateplay/NodeBB/wiki/Configuring-nginx-as-a-proxy-to-NodeBB
/etc/nginx/sites-available/defaultin a file editor and at the end add put the configuration that's written in the wiki. Remeber to restart nginx to load the new configuration with
service nginx restart.
If you still want to work with apache the file structure is similar:
Well after 2 days of playing and destroying my droplet at least 10 times. I finally managed to get a little understanding of how ubuntu works.
http://elitegamernews.com is now running nodebb
Well I noticed a slight hiccup. For some reason now when you try to login/register the page does nothing. Anyone have this happen before?
Thanks for the insight and help.
Think it could be an issue with the nginx config
Hm, well I think I might have figured it out.
I'm using Ajenti's V webserver admin panel to assist me and they have a plugin for node.js.
I simply plugged in the port numbers that my script was running on and volia, it's seems to be port forwarding and the site is actually working now it seems without an issue knock on wood
@erich I'm receiving a 502 error when I visit your site.
Yeah I botched something up. Fixing it at the moment.
erich last edited by erich
Should be back up
I noticed that my nginx wasn't updated and that was an issue. Looks like it's working fine now.
Running smooth A few hours ago I gave it a shot on mobile and none of the pages were loading... when I got home I checked looks like you figured it out
p.s. gaming site? get the Pewter theme: http://starheartcoin.com/
Yeah, I seem to have figured it out haha I finally decided on using the webmin cp to set up my server. It defaults installs apache but once I got it going I removed it and installed nginx. Once I set it up, I was able to edit the server config through webmin and create my proxy to point the website to the right port.