rcl
By:
rcl

I am trying to get a basic website set up, but nothing is showing up. Am I missing something?

November 23, 2014 3.3k views

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.

2 comments
  • 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.
    

    May not be the exact answer you are looking for but me too is a newbie and shifted from cPanel based shared hosting to DO.

    What I did was install a control panel on top of a clean droplet..

    Control Panel software does the rest, installs the Apache / php / mysql / ftp / mail / file manager and everything.. It presents you a web based GUI to easily add domains, creates sub domain, upload files install data base driven apps like WordPress and such..

    Check out the wiki link for list of paid and free options..

    http://en.wikipedia.org/wiki/Comparisonofwebhostingcontrol_panels

    I am personally using zPanel (note zPanel project has been moved to Sentora !!) and working good so far for me in my 512mb droplet for my 4 websites..

  • @hunky

    Thank you! That was actually helpful.
    I just got finished installing Sentora and everything seems okay so far.
    I'm guessing if I want to install NodeJS, I can just install it through the command line like normal?

1 Answer

This question was answered by @hunky:

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.

May not be the exact answer you are looking for but me too is a newbie and shifted from cPanel based shared hosting to DO.

What I did was install a control panel on top of a clean droplet..

Control Panel software does the rest, installs the Apache / php / mysql / ftp / mail / file manager and everything.. It presents you a web based GUI to easily add domains, creates sub domain, upload files install data base driven apps like WordPress and such..

Check out the wiki link for list of paid and free options..

http://en.wikipedia.org/wiki/Comparisonofwebhostingcontrol_panels

I am personally using zPanel (note zPanel project has been moved to Sentora !!) and working good so far for me in my 512mb droplet for my 4 websites..

You can see the comment here.

Have another answer? Share your knowledge.