Webhosts for Web2py

254 views
Skip to first unread message

Vivek Jha

unread,
Aug 27, 2013, 5:11:22 PM8/27/13
to web...@googlegroups.com
I am new in web development and I have started with web2py and have almost copleted reading the web2py book.

Now few practical issues are coming up about which I don't have any experience and that is chosing the right economical webhost.

I think following suits my pocket:
1. Bluehost
2. Hostgator (mainly becuase they have presence in India as well)
3. Justhost.

Do any of guys have any experience with these web hosts. As most of the webhosts are still not able to see the world beyond PHP and wordpress they have not mentioned python support specifically though they may be supporting Python based applications internally.

Questions:
1. Do the above webhosts will be able to support Web2Py with FastCGI.
2. Is having shell access a must for running web2py.
3. Will it be possible to run Web2Py on the main domain and Wordpress on subdomain or vice versa with them.
4. Whom to ask about WSGI setup? Is this a webshost specific question or Web2Py specific.

If you think I have not asked the right questions, then please assume me as a beginner in the hosting world and let me if there are any catches about which I should be careful of.

Massimo Di Pierro

unread,
Aug 28, 2013, 10:41:25 AM8/28/13
to web...@googlegroups.com
Answers below.

On Tuesday, 27 August 2013 16:11:22 UTC-5, Vivek Jha wrote:
I am new in web development and I have started with web2py and have almost copleted reading the web2py book.

Now few practical issues are coming up about which I don't have any experience and that is chosing the right economical webhost.

I think following suits my pocket:
1. Bluehost
2. Hostgator (mainly becuase they have presence in India as well)
3. Justhost. 

Do any of guys have any experience with these web hosts. As most of the webhosts are still not able to see the world beyond PHP and wordpress they have not mentioned python support specifically though they may be supporting Python based applications internally.

Questions:
1. Do the above webhosts will be able to support Web2Py with FastCGI.

I just looked them up and they all they they do. They have instructions for Django. The same instructions apply to web2py except that 1) you do not need to install Django 2) you need to download and unzip web2py 3) you need to configure apache to point to the provided fcgihandler.py.
 
2. Is having shell access a must for running web2py.

You don't but it is convenient for maintenance. All the hosts you listed have a shell.
 
3. Will it be possible to run Web2Py on the main domain and Wordpress on subdomain or vice versa with them.

That's an apache configuration issue. Yes you can. web2py does not care. If there is a path prefix you have to use routes.py to tell web2py to ignore the prefix.
 
4. Whom to ask about WSGI setup? Is this a webshost specific question or Web2Py specific.

That's a host specific issue. It is unlikely shared hosts will support it.
 
If you think I have not asked the right questions, then please assume me as a beginner in the hosting world and let me if there are any catches about which I should be careful of.

As a rule of thumb, if they have instructions for any other python framework you can do it with web2py too. We can help you convert the instructions. All python frameworks use the same standard mechanisms to talk to web servers. web2py is actually easier than others because you do not need root privileges to install it nor you need virtualenv. We also support all adapters: wsgi, fcgi, scgi, cgi, mod_python (discouraged), isapi (windows only). The real issue is, if they don't allow wsgi, than probably you need to run web2py using fcgi. This means you need to run your own long running process. What tools do they offer to do that (start, monitor, restart). Moreover if you later need a third party module that requires sudo access, will they install it for you? If they are mostly a Ruby or PHP shop, they will not help you much.  I have worked with pythonanywhere.com and they were very helpful and responsive.

Loïc

unread,
Aug 29, 2013, 2:33:36 AM8/29/13
to web...@googlegroups.com
My apps are hosted at pythonanywhere.com
People there are very helpfull and responsive.
I recommend it...

Ykä Marjanen

unread,
Aug 29, 2013, 3:49:54 PM8/29/13
to web...@googlegroups.com
Regarding pythonanywhere.com, what's the best way to run own background tasks? In the website they state 1-hour scheduled task, but I need to run multiple tasks almost real-time (e.g. sending registration emails and such). I've designed my website so that most tasks are queued and done in the background.

Ykä

Anthony

unread,
Aug 29, 2013, 5:20:10 PM8/29/13
to web...@googlegroups.com
You might consider Digital Ocean (just moved there from Amazon) -- $5/month gets you quite a bit, and for an extra $1 you get backups. Data centers in New York, San Francisco, and Amsterdam.

Anthony

samuel bonill

unread,
Aug 30, 2013, 6:38:34 PM8/30/13
to web...@googlegroups.com
I use Amazon EC2 and rackspace....

Adi

unread,
Aug 31, 2013, 9:32:16 AM8/31/13
to web...@googlegroups.com
Their pricing looks good. Do they offer different distributions (ubuntu primarily)? I've been with linode for the last year, and so far very happy.

Adnan

Anthony

unread,
Aug 31, 2013, 10:04:24 AM8/31/13
to web...@googlegroups.com
On Saturday, August 31, 2013 6:32:16 AM UTC-7, Adi wrote:
Their pricing looks good. Do they offer different distributions (ubuntu primarily)?

Ubuntu 10.4, 12.04, 12.10, and 13.04 in x32 and x64. Also, CentOS, Debian, Arch Linux, and Fedora.
 
I've been with linode for the last year, and so far very happy.

Yes, I've read a lot of great things about Linode, and recently many equally great things about Digital Ocean (including that they have great customer service and are cheaper than Linode).

Anthony
Reply all
Reply to author
Forward
0 new messages