How to Create WordPress blog on Oracle Cloud

Step 1 : Create a WordPress site that runs on Oracle cloud IaaS

Here are we are considering running the word press blog on Oracle cloud. login to , setup a Multi Site from a Bitnami image , this would need REST URL of Compute Service from Cloud Service provider , this is wizard driven and must be easiest to do

Then the wordpress site will be running as http://some-ip-address example http://129.144.182.XX/

Step 2 :Buy a Domain Name from Hosting Service Provider

Buy a Domain name from service providers like godaddy or or any other company

Create A Record Entry in DNS Panel example my domain name is that maps to an ip adddress like 129.144.1XX.XX A Record will be DNS Records A 129.144.1XX.XX

Create CNAME Entry my CNAME will be

Step 3 :SSH to Bitnami Console

SSH to Bitnami and edit .htaccess and wp-config.php

chmod 700 bitnami-opc-youridmdomain.pem ssh -i bitnami-opc-youridmdomain.pem [email protected]

vi .htaccess


RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ – [L]

# add a trailing slash to /wp-admin

RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

RewriteCond %{HTTP_HOST} ^$ [NC]

RewriteRule ^(.*)$$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^ – [L]

RewriteRule ^(wp-(content|admin|includes).*) $1 [L]

RewriteRule ^(.*\.php)$ $1 [L]

RewriteRule . index.php [L]

Now we would need to edit wp-config.php in same directory

most important lines are below

define(‘WP_DEBUG’, false);




/* That’s all, stop editing! Happy blogging. */

define( ‘MULTISITE’, true );

define( ‘SUBDOMAIN_INSTALL’, true );

$base = ‘/’;

define( ‘DOMAIN_CURRENT_SITE’, ‘’ );

define( ‘PATH_CURRENT_SITE’, ‘/’ );

define( ‘SITE_ID_CURRENT_SITE’, 1 );

define( ‘BLOG_ID_CURRENT_SITE’, 1 );


Finally you would need to configure domain

cd /opt/bitnami/apps/wordpress

 sudo ./bnconfig –machine_hostname

if you FTP wp-config.php you will have challenges with File Permissions so to fix this , SSH to WordPress Instance and do the following

sudo chown -R bitnami:daemon /opt/bitnami/apps/wordpress/htdocs

Now welcome to my wordpress blog for more how to videos and blog contents