I’m new to hosting my websites and thought I’d give a go at hosting my node js app to a domain so I have experience delivering a website. I’m new to this and hit a point I just don’t understand why it’s not working.
I was able to set up a raspberry pi running Ubuntu 21.10 and connect it to my wifi with a static ip using netplan. I then portforwarded it’s ip and I can connect to my node app by typing in my public ip as well as the port.
I have a domain on name cheap and have connected it using ddclient to update the ip but when I type in the domain I don’t see my app. I can still specify the public ip and port and that seems to work but I can’t get the domain to work at all. Have I missed a step or does anyone have any advice?
The IP address I’m using that works is 77.100.120.45:8080. It just displays a 404 page for just now but it works I just can’t wrap my head around this domain stuff
I have entered my dns records here if that is of any help. I can’t seem to access the page at all through the domain but some others can.
http://77.100.120.45:8080
andhttp://jack-duffy.com:8080
. It appears that you have two separate A records with different IP addresses defined when I look here. One is your77.100.120.45
and the other is192.64.119.72
.