A server that runs django

52 views
Skip to first unread message

Dário Carvalho

unread,
Feb 6, 2017, 2:38:01 PM2/6/17
to Django users
Hi everyone. So, I now understand a little more about how django works and I was thinking about how can I run a site built with django in my own python's server.
Someone know how can I do such thing? I thought about using asyncio and/or socketserver or even http with socketserver. Anyway, thanks.

invincibly cool

unread,
Feb 6, 2017, 4:12:30 PM2/6/17
to Django users
You could use www.Python anywhere.com to host your sites with their domain names.
Although a website stays on the web for 3 months in the trial.

Dário Carvalho

unread,
Feb 6, 2017, 4:50:41 PM2/6/17
to Django users
Thanks. It's useful for me. Although what I really want to is to create my own server using python for it.

Tim Graham

unread,
Feb 6, 2017, 5:09:50 PM2/6/17
to Django users
Follow the deployment instructions at https://docs.djangoproject.com/en/stable/howto/deployment/wsgi/.

I would not recommend writing your own web server. If you want to see what's involved, gunicorn.org is a Python server.

Dário Carvalho

unread,
Feb 6, 2017, 5:52:15 PM2/6/17
to Django users
Thanks guy. I'll consider your recommendation.

Luvpreet Singh

unread,
Feb 22, 2017, 10:41:07 AM2/22/17
to Django users
Well, I completely agree with you. But can we use Nginx servers?

Tim Graham

unread,
Feb 22, 2017, 10:48:40 AM2/22/17
to Django users
Sure, do a web search for "nginx django" to find instructions.

Luvpreet Singh

unread,
Feb 22, 2017, 10:53:45 AM2/22/17
to Django users
Yeah I am running my django on nginx. I just wanted to make sure that if I'm doing wrong by doing so?



On Tuesday, February 7, 2017 at 1:08:01 AM UTC+5:30, Dário Carvalho wrote:

Tim Graham

unread,
Feb 22, 2017, 11:28:33 AM2/22/17
to Django users
Nope, there's nothing wrong with using nginx and Django.

Antonis Christofides

unread,
Feb 23, 2017, 1:58:32 AM2/23/17
to django...@googlegroups.com

Hi,

For many people, including me, nginx is the recommended web server for Django. See, for example, my blog post, "Which components should I use in production?". You may also be interested in a webinar I'm hosting this Tuesday, in which we will deploy Django with nginx and Gunicorn.

Regards,

Antonis

Antonis Christofides
http://djangodeployment.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d50fffbb-df42-4287-82ad-5e9175ea2967%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages