Hey everyone,
So I am a total novice with Wordpress, Terminal, Bitnami, and Amazon's EC2 - not a good combination.
Anyways, I launched an ec2 instance through the Bitnami website (http://bitnami.com/stack/wordpress/) and because I didn't know what domain I wanted at the time, I kept the elastic IP that I had assigned to the instance (http://23.21.168.3/).
After inserting content on the site for a couple weeks, I decided on the domain name of fundskunks.com. I bought the domain through GoDaddy and directed the DNS to the elastic IP (23.21.168.3).
I then ssh-ed into the server (instance?) with terminal and made the following changes:
$ sudo vi /opt/bitnami/apache2/conf/httpd.conf
Changed the route to:
DocumentRoot "/opt/bitnami/apps/wordpress/htdocs"
< Directory "/opt/bitnami/apps/wordpress/htdocs" >
Changed the permission in the following section:
AllowOverride All
Uncommented the following:
# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
# Various default settings
Include conf/extra/httpd-default.conf
Commented out:
#Include "/opt/bitnami/apps/wordpress/conf/wordpress.conf"
Then went into:
$ sudo vi /opt/bitnami/apache2/conf/httpd.conf
Uncommented:
Include conf/extra/httpd-mpm.conf
$ sudo vi /opt/bitnami/apache2/conf/extra/httpd-mpm.conf
And made the following adjustments:
StartServers 10
MinSpareServers 10
MaxSpareServers 10
MaxClients 50
MaxRequestsPerChild 0
Then:
$ sudo vi /opt/bitnami/apache2/conf/httpd.conf
Uncommented:
LoadModule deflate_module modules/mod_deflate.so
Added the following:
#Add compression support for Apache 2.0
#The following lines were added down to the close"
AddOutput FilterByType DEFLATE text/plain
AddOutput FilterByType DEFLATE text/xml
AddOutput FilterByType DEFLATE application/xhtml+xml
AddOutput FilterByType DEFLATE text/css
AddOutput FilterByType DEFLATE application/xml
AddOutput FilterByType DEFLATE image/svg+xml
AddOutput FilterByType DEFLATE application/rss+xml
AddOutput FilterByType DEFLATE application/atom_xml
AddOutput FilterByType DEFLATE application/x-javascript
AddOutput FilterByType DEFLATE application/x-httpd-php
AddOutput FilterByType DEFLATE application/x-httpd-fastphp
AddOutput FilterByType DEFLATE application/x-httpd-eruby
AddOutput FilterByType DEFLATE text/html
DeflateCompressionLevel 9
#close add compression support for Apache 2.0
And then to change the url I made the following changes:
$ sudo nano /opt/bitnami/apps/wordpress/conf/wordpress.conf
Added and commented out:
DocumentRoot "/opt/bitnami/apps/wordpress/htdocs"
# Alias /wordpress/ "/installdir/apps/wordpress/htdocs/"
# Alias /wordpress "/installdir/apps/wordpress/htdocs"
Changed the rewrite rules to the following:
<directory "..."="">...
RewriteBase /
RewriteRule . /index.php [L]
...
</directory>
And inserted:
define('WP_SITEURL', 'http://fundskunks.com');
define('WP_HOME', 'http://fundskunks.com');
I directed the DNS to the elastic IP only 24 hours ago so I'm not expecting it to be working yet, but when I try to load the website with the elastic IP, it takes forever and the images and CSS don't load.
Any suggestions on what I did wrong or how I can fix this? If you need more specific information, I can take screen shots or copy actual code.
Thanks in advance for any help you can give!!!!
Jude
P.S. Sorry for the weird formatting. Text is showing up out of size and bold and it's a pain in the ass to change. Also, I'm a total idiot so if you have any suggestions to help get the site back up and running properly, please include exact code, changes, and steps. Thanks again!