Found 5 entries, viewing 1 through 5.

Optimizing for Shared Hosting

Shared hosting, no matter how their packages are painted, have limits. Staying away from hogging too much CPU, memory, and other resources can ensure the longevity and performance of your shared hosting account. If you are just looking into how to build a site, or if you already have a very busy site on shared hosting, these guidelines can help you get the most out of your shared hosting account before making the switch to more expensive hosting. One of the goals in this post is to encourage "good neighbor" practices that will ensure you aren't disrupting fellow users on the server that hosts your account. This also ensures that you won't get any of these principles also apply to other types of hosting, but this is written with shared hosting in mind.

Common bottlenecks

With modern shared hosting, you generally have plenty of available disk space and ...

Continue Reading

Permalink | 1 comment | Posted: Jun 10, 2010 | Tags: Django Open Source Bluehost Hosting FastCGI

Surpassing Mailing Limits

Bluehost enforces a maximum outgoing email per limit on their service. Most tasks, such as personal email, and mass mailings can easily be routed through other mail servers. As long as the process sending the mail does not reside on the server, then it's as simple as changing the settings to use another mail service.

If your application has to run on the server, such as a web application, forum, business contact tracker, or cms, then you are out of luck. There is no way to send email to an outside server from Bluehost. Port 25 is blocked, because that would be open season for spammers. Any sane shared hosting company would enforce the same policy. The only way to get an email out to the rest of the world is to use either the sendmail binary, or connect to port 25 on localhost to send a message.

There ...

Continue Reading

Permalink | Posted: Jun 10, 2009 | Tags: Bluehost Hosting email PHP SSH

Git at Bluehost

Soon after I enabled SSH access at bluehost, I wanted to play with some Django projects that I had. I mainly use git as my revision control software, so I tried typing git clone The command wasn't found, so I decided to install it.

In environments where I feel like I need to install software into my home directory, I usually create a ~/local directory, and add appropriate entries to my $PATH. I just did a wget to download the git source package, and when I configured the build, I used ./configure --prefix=$HOME/local. This installed beautifully.

I tried my command again, only to find that it times out. Outgoing SSH is blocked from the slicehost shell account. I understand that SSH access is powerful, and is only available for me to administer my site. Even so, it was a bit ...

Continue Reading

Permalink | Posted: Feb 11, 2009 | Tags: git Bluehost

Spamassassin on Bluehost

Turning off the annoying spamassassin message encapsulation on BlueHost's servers.

Spamassassin is a great spam killing tool. BlueHost offers it as one of the spam protection options on their e-mail accounts. The cPanel configuration interface for spamassassin is a bit lacking. It only has some common, bare minimum options available.

One thing that spamassassin does that is a bit annoying is it encapsulates all suspected spam messages in a new message, and attaches the original message. This is nice for some things, but can be quite annoying when a legitimate message is crippled in this way.

Spamassassin is highly configurable, and you can do this easily. You just have to do it "manually" and not use the cPanel interface.

If you have SSH enabled, the SSH way is probably the easiest.

$ ssh's password:
Last login: Wed Feb 11 11:10:07 2009 ...

Continue Reading

Permalink | Posted: Feb 11, 2009 | Tags: Servers Bluehost Spam email


I have a bluehost account now. Occasionally, I do freelance programming. I'm a Django developer. Bluehost is on the list of "Django-friendly" shared webhosts.

I wanted to see for myself how easy it was, as Django is listed as "unsupported."

I was able to get it working fairly easily. There are plenty of guides "out there" as to how to get Django running on Bluehost's servers.

There are plenty of other things that you can do with a Bluehost account. It is surprisingly powerful. Once SSH is enabled, you have a chroot environment and can do almost everything.

My first impressions are in favor of bluehost. It is perfect for many small websites and small clients. Unfortunately, bluehost doesn't seem to have too many hosting packages that can handle larger sites, so it may not be the best choice for clients who need websites with heavy requirements ...

Continue Reading

Permalink | Posted: Feb 11, 2009 | Tags: Servers Bluehost Hosting