rackspace

Switching From Rackspace to NearlyFreeSpeech

  • Posted on: 13 July 2015
  • By: davis

I had some growing pains switching from Rackspace to NearlyFreeSpeech today. I needed to port four Wordpress sites and a Drupal installation. I encountered quite a few stumbling blocks along the way, mostly due to the way NearlyFreeSpeech configures their permissions.

To get new Wordpress installations working on NearlyFreeSpeech:

SSH into your server with Putty. You will be dropped in /home/public by default. Wordpress files need to belong to the "web" group. Use the following commands

LAMP Stack - PHP Files Only Downloading From Apache

  • Posted on: 30 March 2015
  • By: davis

Problem: All links that led to .php files were just being downloaded. This happened after I ran into apache2 issues with Rackspace's Monitoring Agent and my email generator.

After tearing my hair out, here's the solution I arrived at.

sudo apt-get install libapache2-mod-php5
sudo a2enmod php5

Apache2 Conf Error

  • Posted on: 20 March 2015
  • By: davis

For this failure:

root @ cloud-server-XXX:/# sudo /etc/init.d/apache2 reload
apache2: Syntax error on line 223 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/daviseford.com: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
...fail!

The fix is to copy the daviseford.com file from /etc/apache2/sites-available and rename it to daviseford.com.conf

Place that file in /etc/apache2/sites-enabled/

Apache2 will then be happy.