Install node bb but how to change the domain
-
During the installation process i have entered URL of this installation (http://localhost) http://191.101.6.63 but i want to change it to domain.com.How to do it
-
@SANTOSH-KUMAR Edit your config.json base url to http://domain.com, then use apache or nginx to route domain.com to 191.101.6.63:port number.
Documentation can be found here
-
You could also re-run
./nodebb setup
to make any alterations. -
IS the result
-bash: ./nodebb: No such file or directory -
@SANTOSH-KUMAR, you have to
cd
into your NodeBB installation's directory before you can run that command. -
I am a linux beginner can you give the whole code which i need to run in my ssh
-
@SANTOSH-KUMAR, what directory did you install nodebb in?
/root/nodebb
? -
@SANTOSH-KUMAR
Assuming you followed the guides.
cd nodebb ./nodebb setup
-
@Ted
@a_5mith
I used
cd nodebb
./nodebb setup
even though the output was same
-bash: cd: nodebb: No such file or directory -
@SANTOSH-KUMAR Then you've not found your NodeBB folder, type
ls
. What sorts of files do you see? -
@Ted
i used this guide to install
http://burnaftercompiling.com/nodebb/setting-up-a-nodebb-forum-for-dummies/
@a_5mith
-bash: 1S: command not found -
@SANTOSH-KUMAR What OS are you using?
-
@SANTOSH-KUMAR Do you have a domain? If so, change base URL from what it is now to http://yourdomain.com, then press enter to continue through the setup.
You'd then be able to access your forum at http:/yourdomain.com:4567 (assuming you've not changed the port number) You'd then need apache or linux to remove the port number.
-
@a_5mith
URL used to access this NodeBB (http://191.101.6.63:4567)
I have domain explorehowto.com
Can i directly enter explorehowto.com or explorehowto.com:4567 -
The following are requirements for allowing a domain to resolve to your NodeBB:
- You must own a domain name (e.g.
example.org
) - Your domain's DNS server needs to contain an
A
record pointing to the IP address of your server machine - Your machine must have a reverse proxy service installed (e.g. nginx or apache, among many possible options)
- The reverse proxy must be configured to listen for requests for your domain name, and proxy them on to your NodeBB instance (probably running on port 4567)
- Your NodeBB should be configured to have a
base_url
of your domain name, withuse_port
as false.
More information: https://docs.nodebb.org/en/latest/configuring/proxies.html
- You must own a domain name (e.g.
-
@SANTOSH-KUMAR When you run ./nodebb setup, you will see
URL used to access this NodeBB (http://191.101.6.63:4567)
and a flashing cursor, just typehttp://explorehowto.com
and press enter. Keep pressing enter until the setup is finished.Assuming your DNS has an A NAME record pointing to
191.101.6.63
. Then you will be able to access your forum by going to http://explorehowto.com:4567. -
I dont want to use :4567 after my domain.How can i do that