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

November 2, 2015 2.4k views
DigitalOcean Joomla Deployment

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?

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.

    • The default web root in Ubuntu versions 14.04 and newer is /var/www/html instead of /var/www/

Have another answer? Share your knowledge.