How to install a html5 website on the Linux server?

For example, what kind of working environment, frameworks, etc. Is there any general instruction or video I can watch?

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You can use a webserver such as Apache to serve HTML files. Apache can be installed by using the commands below depending on your OS.


sudo apt-get update
sudo apt-get install apache2


sudo yum install httpd
sudo service httpd start

After you have installed apache like MDS says with that command, you can upload your HTML site inside


If you want to configurate apache to handle domains, you need to create a VHOST. You can learn more about this in another tutorial

I installed a wordpress website before but everything is configured by Digital Ocean; what am I supposed to do for normal html site?