list of web hosting providers that work for web2py

72 views
Skip to first unread message

Richard

unread,
Mar 22, 2010, 7:34:35 PM3/22/10
to web2py-users
I read in another thread that all that is needed for a host to support
web2py is python2.4+. However I tried and failed to run web2py on
Hostgator, which does support python2.5. It is likely possible, but my
Apache-fu is not strong enough.

What would be great is a list of hosts that are known to work along
with instructions.


Here is a start of what I have used personally:
- Google App Engine (http://code.google.com/appengine/docs/python/
gettingstarted/uploading.html)
- Webfaction (http://forum.webfaction.com/viewtopic.php?id=2373)


Others I have heard work:
- Slicehost
- Dreamhost

mr.freeze

unread,
Mar 22, 2010, 7:40:24 PM3/22/10
to web2py-users
Hostgator works but it's not as easy as it could be. I'll try to put
together a slice soon.

mdipierro

unread,
Mar 22, 2010, 9:05:40 PM3/22/10
to web2py-users
I use vps.net and I cannot be happier. I will make a video on how to
deploy web2py there.

Massimo

Thadeus Burgess

unread,
Mar 23, 2010, 12:16:51 AM3/23/10
to web...@googlegroups.com
Dreamhost is slow, but cheap
I use slicehost and manage 3 web2py servers, couldn't be happier. I
originally went with apache/mod_wsgi, however I am now migrating
everything over to cherokee + uwsgi, the main selling point there
being a web based management interface.

-Thadeus

> --
> You received this message because you are subscribed to the Google Groups "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to web2py+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
>
>

Julio

unread,
Mar 23, 2010, 1:06:54 AM3/23/10
to web2py-users
Hey Richard,

I have 10+ dynamic apps (e.g. running a DB back-end, including
pyforum.org and techfuel.net, both web2py) on a $15.00 a month VPS on
serveraxis.com, but don't let the price fool you, uptime has been
virtually 100% in the past 4 years, the caveat is that you get a
"plain vanilla" server (you have to admin it), but I see that as a
benefit as you can have the exact version of whatever you want on it,
hth. Julio

Richard

unread,
Mar 24, 2010, 8:11:55 PM3/24/10
to web2py-users
On Mar 23, 10:40 am, "mr.freeze" <nat...@freezable.com> wrote:
> Hostgator works but it's not as easy as it could be. I'll try to put
> together a slice soon.

Looking forward to it.
I have a client who already uses Hostgator and they won't want to move
elsewhere just for my framework.

Richard

unread,
Mar 24, 2010, 8:16:36 PM3/24/10
to web2py-users
serveraxis.com sounds interesting. My webfaction subscription runs out
soon and I am considering moving elsewhere because it is a bit slow
and I want root access.

Do you use a single web2py installation for those 10 apps?

mr.freeze

unread,
Mar 24, 2010, 9:13:12 PM3/24/10
to web2py-users
I just canceled my account. There is no way to get python 2.5
installed and there are issues with hashlib on version 2.4 with CRYPT
so it was a bust for me. Too bad, their servers are fast. I'm going to
skip making a slice but here's how I got it working:

1) Get them to install pysqlite, hashlib, MySQL-python, uuid and
enable SSH access.

2) Install virtualenv
wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.5.tar.gz
tar xzf virtualenv-1.4.5.tar.gz
python virtualenv-1.4.5/virtualenv.py $HOME/local

2a)Add it to your path
PATH="$HOME/local/bin:$PATH"
export PATH

2b) Create a .bash_profile in your home folder with the same two lines
above

3) Download web2py_src.zip and extract to your web root.
wget http://www.web2py.com/examples/static/web2py_src.zip
unzip web2py_src.zip
mv web2py/* public_html/yourdomain.com/

4) Create a dispatch.fcgi in web root with the following content:
#!/home/[username]/local/bin/python
import sys
from flup.server.fcgi_fork import WSGIServer
import gluon.main
application=gluon.main.wsgibase
## or
# application=gluon.main.wsgibase_with_logging
WSGIServer(application).run()

4b) chmod +x dispatch.fcgi

5) Create a .htaccess in the web root with the following content:
AddHandler fcgid-script .fcgi
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^dispatch\.fcgi/ - [L]
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]


Give it a try.

GoldenTiger

unread,
May 23, 2010, 12:30:03 AM5/23/10
to web2py-users

I saw this post a weeks ago, i could install web2py, but i couldn't
running it.

I was not sure about compatibility. Now I know It's possible I will
try again.

I will tell you if success ^^

Thanks
Reply all
Reply to author
Forward
0 new messages