Pointing Domain To NodeBB Forum (Digital Ocean)
-
Hello,
I'm ready to launch my NodeBB forum to the public. I've registered my domain on GoDaddy, and I know I need to point that domain to my Digital Ocean droplet IP address.
At least, I believe that's how it works. I've looked over some other discussions on this and seem to get a bit lost. For example, do I need to change my config.json base url to http://domain.com, and then use ngix as well? Or, can this all be done through Digital Ocean and Godaddy?
Steps I've taken so far:
In Digital Ocean, under the DNS tab:
I've added my GoDaddy domain to my droplet and it filled the IP address automatically (my droplet Server IP).
*In GoDaddy: *
Under DNS Zone file, I changed my A(Host) to point to my droplet server IP address (I don't know if that was a step in the right direction, or if I should have left it as it was).
Considering my puzzle pieces are these listed below. (It's easier for me to think of them as parameters to plug in somewhere):-
Droplet Server IP
-
DNS A(Host)
-
config.json
-
ngix
-
GoDaddy Domain*
I believe I have all the pieces, I just need some assistance on putting them all together. I've never done this before, so any help on this would be very appreciated. I hope I was clear my my explanation, and thank you in advance.
Edit: In addition, is there a way to run the Redis Server on Digital Ocean forever, without having to go into my terminal/console and starting it using ./nodebb start?
-
-
nginx configuration can be found here.
https://www.digitalocean.com/community/questions/having-problems-with-dns-setup?answer=21481 -
You can check
redis.conf
file fordaemonize no
option and change it toyes
. -
Yes, it will work in the background.