how can i simply start a HTML page and start my own page and i want to know how to edit it later

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

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.

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:

  • On your droplets page click the More section on the far right for your new droplet and click “Access Console”

  • 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:

  • Host: Your droplet’s IP address
  • Port: 22
  • Protocol: SFTP - SSH File Transfer Protocol
  • Login Type: Normal
  • User: root
  • Password: The new permanent password you created

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

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 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

Then, I installed Nginx instead of apace, following this guide:

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:

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.