Making route for actual subdomain name to droplet

Posted March 13, 2018 3.3k views
CentOSMiscellaneousDigitalOceanNetworkingUbuntu 16.04

Well, i’ve been trying to use my subdomain to access my droplet ip. ( installed nodebb)

I did change the config.json to but problem is at my actual domain configuration.

I can do with main url ( i think) but when it comes to subdomain everything become mess.

I’ve tried these guides and those are not make sense at all. I couldn’t manage to work them out.

It looks like everyone says different things.

I have my domain on namecheap servers, i did figure it out that i need to change settings on zone editor option.

a, aaa, cname and other option are there.

id id create new id and ip that it is filled with droplet ip and port or other way around. It doesn’t work.

I finally manage to setup nodebb on centos but now domain route problem showed up.

Anyone kind enough to help me out or point something simple guide that i can manage with my own ?

what i have so far;
I have test nodebb - droplet which on centos
i have domain and hosting. I want to redirect it as 153.X.Y.Z.:4567 to
I did set config.json as it should be.

“url”: “”,
“secret”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,
"database”: “redis”,
“redis”: {
“host”: “”,
“port”: “6379”,
“password”: “YYYYYYY”,
“database”: “0”
“type”: “literal”

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer