I have a domain name: www.domain.com
I went to my registrar that holds that domain name and logged in. I setup a DNS record type A with my public IP address.
Now if I go to www.domain.com, I'm directed to my router's homepage. Now all I should have to do is port forward my router to my node.js server that is running on localhost:3000.
Picture for reference:
The IP address should be my computer's IP I got from entering ifconfig
into the terminal. So I enter my computer's IP, and 3000
for the port start and port end fields.
Now if I go to my www.domain.com, I still get the homepage for my router. So the port forwarding is what I assume is incorrect. Does anyone have an idea what ports I should be entering? Or is it something entirely different?