How to use Joomla, via Digital Ocean, to host personal website?

Posted November 2, 2015 3.4k views

I wrote my own HTML, CSS, and Javascript, and I just want to host the website somewhere. I chose digital Ocean, thus Joomla, however I’ve found Joomla is constructed around templates. I want to use my own code.
How do I do this?

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.

Submit an Answer
1 answer

Joomla is a content management system/framework. If you just want to host static HTML you can just spin up a droplet using the default Ubuntu image, ssh into it and run:

apt-get update
apt-get install apache2

This will install the apache web server. You can then drop your content into /var/www/html using an SFTP client like Filezilla. Once your content is in that folder it will be accessible via a web browser.

(Alternately you can use the LAMP image when creating your droplet which already has apache installed but also includes PHP and the MySQL database server)

  • I’ve installed apache2 and transferred the files through Filezilla to /var/www, but now I’m getting a 404 not found - not even the apache “it works” page.
    I have an index.html file in /var/www so I don’t understand why it’s not working.