Question

New user: What is my web url? Unable to find my index.html.

What is my external URL? This is what they gave me. I can putty into 104.236.35.171 and vi a little helloworld index.html file.

chris2f4fab5113 username (their choice) Your new Droplet is all set to go! You can access it using the following credentials: Public Network IP ADDRESS:

104.236.35.171 GATEWAY:

104.236.0.1 NETMASK:

255.255.192.0

Droplet Name: CJC IP Address: 104.236.35.171

somewhere in the process of establishing the droplet, I needed to enter a “web” name so I used CJCdroplet1.com

It also wanted a pre-registered domain name associated with this droplet: www.prosperityforamericans.org (which I registered at domaindiscover.com a year ago) I also put the three DigitalOcean DNS lookups in the domaindiscover settings

I cannot get anything to come up in the browser. http://104.236.35.171/ “unable to connect” http://www.prosperityforamericans.org/ “this webpage is unavailable” CJCdroplet1.com “this webpage is unavailable”

https://cloud.digitalocean.com/droplets/8368745/console shows a black unix command panel that I can use same as with putty.

Can you help me figure out what name to use in the browser to show my index.html helloworld file?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Hi,

Which web server application are you using to host your website? Are you using Apache or Nginx? In your DNS settings on DigitalOcean, are you connecting your IP address to your domain?

I looked up your droplet and it appears you created it with the stock Ubuntu 14.04 x64 image which provides a barebones OS without a web server installed by default. Not to worry, you can get a web server up and running with just a couple commands. In putty, once you are connected, type the following:

apt-get update
apt-get install apache2

This will install a basic apache web server (more packages are needed to support things like php if you are not just hosting a static site, let me know if you are hosting something dynamic).

Then you can move your index.html into the directory /var/www/html with

mv  index.html /var/www/html/index.html

and you should see your page when you navigate to your IP address in your browser. For your DNS, you will need to ensure that you have configured records in our DNS server which point to your droplet. This guide will walk you through this process.

Let me know if you have any other questions, I’m happy to help you get up and running :)