I am trying to get a basic website set up, but nothing is showing up. Am I missing something?
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 tried deploying a NodeJS project I have been working on locally and I was able to pull it up on mydomain.com:3700 (sorta...the socket.io code seems to not be working for some odd reason).
My ultimate goal is to have a single personal page at mydomain.com and then I can access different apps at mydomain.com/myapp or myapp.mydomain.come or whatever.
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.