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

FastCGI for mod_userdir

So, I want to move away from mod_php for the obvious security reasons.

FastCGI is a good alternative. I want to make the transition as easy as possible for my users. The transition on my Bluehost account from the regular PHP handler to the fastcgi handler is quite easy. All I do is add AddHandler fcgid-script .php to my .htaccess. Here are the requirements that I am looking for in transitioning to fastcgi for php:

1) Easy Transition - little or no user intervention required. I'd prefer that no intervention is required. 2) fastcgi scripts should be run using suexec for security and potential tracking purposes. 3) No scripts should be run when adding/removing users from the system. I want this to "just work" with the mod_userdir setup that we have.

Ideally, this change could be made during scheduled maintenance, and everyone could be automatically using the new fastcgi ...

Continue Reading

Permalink | Posted: Mar 24, 2009 | Tags: Open Source Servers Hosting PHP FastCGI

Slow Django Requests

So I've had a slice with slicehost for about a year and a half now. I love all the things I can do with my very own relatively cheap server on the Internet. I started out with a 256 slice, and then I talked my wife into upgrading to a 512. I kept putting more things on my server because it was so convenient, and fun to have a 100% static IP on the internet. I've started running my own mail server, and slowly I've been moving all my personal sites to Django. I even host a website on my slice for a small fee.

After a little while, I was curious as to why all my Django apps seemed to run so slowly. I don't use my own website very often, so I didn't notice the slowness creeping in. Running top revealed that I ...

Continue Reading

Permalink | 15 comments | Posted: Mar 08, 2009 | Tags: Django Satchmo Python Servers Hosting


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