By amienundhm
please, i want simple answers i’m new at this things and i need to knew HTML in a simple way and… yeah… i like your website . thanks
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!
Thanks so much for your answer @bobbyiliev .
I finally figured it out and solved it.
For future reference:
First, and after creating the droplet, I configured the server:
Initial Server Setup with Ubuntu 18.04 https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04
Then, I installed Nginx instead of apace, following this guide:
How To Install Nginx on Ubuntu 18.04 https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04
Only after that, I followed the steps detailed in this post:
how can i simply start a HTML page and start my own page and i want to know how to edit it later Url: https://www.digitalocean.com/community/questions/how-can-i-simply-start-a-html-page-and-start-my-own-page-and-i-want-to-know-how-to-edit-it-later
To launch a server serving an HTML page you can use the following steps.
1.) On the create droplet page create a droplet (server) using the LAMP image (under the one-click apps tab). Any size will do for hosting static content.
2.) You will receive an email with a temporary password. Before you can start managing your files you will need to set a permanent password. You can do so by doing the following:

Enter the username “root”
Enter the temporary password that was emailed to you. Unfortunately copy/paste will not work here.
Enter the temporary password a second time
Enter your new password and retype it to confirm
Close the console window
3.) Now that you have a permanent password you will be able to log in via SFTP to manage your files. Any SFTP client will work but for this example we will use the free Filezilla client. If you do not already have Filezilla, download and install it.
4.) Click the left-most button on the Filezilla toolbar. This will open the “site manager”.
5.) Click on “New Site” and enter the following information:
Then click “Connect”
6.) Your server’s files will appear in the right hand side and your local files in the left. You will start out in the directory /root and your web files will be in /var/www/html so you will first need to go up a directory by double-clicking on .. in the right side pane, then navigate to /var/www/html
7.) A file named index.html placed in this directory will be served by your droplet if you enter your IP address into your browser.
That is the bare essentials. I would also recommend reviewing these tutorials
How To Set Up a Host Name with DigitalOcean - This covers the basics of pointing a domain name (yourname.com) to your droplet and how to configure DNS records.
Initial Server Setup with Ubuntu 16.04 - This guide covers some basic steps to help secure your droplet and get started using it.
{Ubuntu Unattended Updates}(https://help.ubuntu.com/lts/serverguide/automatic-updates.html) - This Ubuntu document covers how to enable automatic updates for your droplet’s operating system.
If you run into any trouble following these steps follow up here and I’ll be happy to clarify or help troubleshoot.
Another option if you would prefer to have a blog platform like WordPress would be to use the WordPress one-click image. This will allow you to get a site up and running easily but would not directly support just uploading html files.
Thanks for the detailed steps @ryanpq.
I have followed them and my domain is pointing to my Digital Ocean droplet (Ubuntu 18.04.3 (LTS) x64) but unfortunately I cannot reach the page.
I had to create this route /var/www/html manually though, it was not in the droplet when I accessed it. I was wondering if I am missing any step before the very first one you mentioned.
Thank you very much.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.