First off, I apologize for the newbie question. This is my first time trying to set up a server on my own.
I have my droplet set up running NodeJS on Ubuntu. I believe I have my domain all set up fine. I’ve switched my DNS’s to DO. When I go to mydomain.com, I get “This webpage is not available.” I was expecting there to be some sort of placeholder file or something. So I was SFTP’d into the server and couldn’t find anything. I was thinking there would be a /var/www/ directory but there isn’t. Then I thought maybe the DNS hadn’t propagated yet, but I checked the whois and it says the are the DO DNS’s.
Right now, I just want the satisfaction of seeing something when I go to mydomain.com.
I see there are a lots of great tutorials on here, so maybe I’m just not looking at the right ones. Do I need to install nginx or something?
Any guidance in the right direction would be greatly appreciated. Thank you!
EDIT: I got the NodeJS app working on port 3700. So I guess my main question now it how to get a page on the main mydomain.com.
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.