Simple steps to create a static website

To create a static website, just need to 1) create index.html in /var/www/websitename/pubic (can keep the permission to root). 2) add virtual host config to the available site in /etc/apache2/sites-available/ 3) restart apache sudo a2ensite your-site.conf sudo systemctl reload apache2

Migrate a WordPress Website from AWS to OCI

Below is the notes I had to move my WordPress website from AWS (Amazon Web Services) to OCI (Oracle Cloud Infrastructure). 1. Export WordPress from AWS On the AWS WordPress site: 2. Set Up WordPress on OCI On your OCI server: Copy your unzipped WordPress files into /var/www/exampleblog.com/public. 3. Create a New Database Log into …