Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django: vps or shared hosting? [closed]

I am new to web development and everything involved with it. Im finishing my website in django and i will soon have to find a hosting and deploy it. I heard there are vps or shared hosting types. So here are the questions:
1. How many visits/clicks per day make it worth choosing vps? shared?
2. How hard is it to tune and maintain a vps on your own if you're new to everything!
3. If i ask hosting providers to help me deploy my site - will they help? (shared, vps)
4. Is vps with 256mb memory much faster than shared hosting?
5. If i want to host many sites on one hosting - is vps more suitable for that?
6. Can i host php, django and other stuff on one hosting simultaniously?
7. Should i know something else to make a decision?

like image 332
barin Avatar asked Dec 11 '09 03:12

barin


People also ask

Does Django work on shared hosting?

It is not a good idea to deploy a Django app on shared hosting as you will be limited especially installing the required packages.

Is Hostinger good for Django?

Django is an open-source python web framework. At the moment, Django will not work with our Shared or Cloud web hosting plans, as Python is also not supported. NOTE: If you want to use Django, you can install this great feature on our VPS plans 😊

Can we host Django on Bluehost?

Bluehost – Best Overall Web-Hosting for DjangoIf you're looking for a web hosting service to host a Django web app, our final recommendation is Bluehost. For people aiming at VPS plans, Bluehost has cheaper managed plans than other companies like A2 Hosting.


2 Answers

I've been using Webfaction for shared hosting of Django. The price is pretty decent, they have good forums, and have a nice web-based interface to help get you setup. Despite the web interface, it doesn't impede you from having full control over your site form the command line. You can host all sorts of things, from Django to Rails, to PHP, and mysql. For smaller sites, it works nicely. I'm not sure how the performance works under high load, but you can always start small and upgrade to a vps. I've never had direct contact with the support personel there, but the documentation seems good. I don't mean for this to sound like a plug, but it's been pretty good for shared hosting. If you have any questions about it, I'll be glad to answer.

like image 65
Joe J Avatar answered Oct 06 '22 09:10

Joe J


Django runs on GoogleAppEngine but php doesn't. Your Django code will have to use Google's datastore models instead of Django's usual ORM, so there is some tie in to GAE - if you decide you want to host your own app later on it could be quite a lot of work.

If you go with a VPS obviously you can run Django and php together, but you'll need to choose a webserve, maybe a firewall, maybe load balancing later on.

Clicks per day isn't really useful, you need to know how many clicks per second you get at peak time.

Cheap hosting providers will provide less help than expensive ones.

Is one VPS going to be enough? What is the impact if it goes down? It's harder to do major upgrades if you only have one server.

With a VPS you need to back your data up somewhere. The hosting may do offsite backups for you, but it's a good idea to have some yourself too.

I don't know how easy it is to backup your data from GAE, but it's probably a good idea if the data is valuable.

like image 31
John La Rooy Avatar answered Oct 06 '22 07:10

John La Rooy