#StackBounty: #python #django #postgresql #iis #hosting How to Host Python, Django, PostgreSQL Application on IIS 10

Bounty: 50

I am trying to host my Django application on Windows 2016 server IIS server. I had used Python, Django, pipenv as virtual environment and PostgreSQL as Database.
How to host is using a Domain Name ?

I had tried almost tried everything available on the internet but till now I am not successful.
Maybe I have not got the perfect tutorials or find the correct one to host the Django Application.

Please help me host the Django Application on IIS 10.

I will be really grateful for the help

Thanks in advance.

Error occurred while reading WSGI handler:

Traceback (most recent call last):
  File "c:userssachin kumar.virtualenvslogin-zru7l_54libsite-packageswfastcgi.py", line 791, in main
    env, handler = read_wsgi_handler(response.physical_path)
  File "c:userssachin kumar.virtualenvslogin-zru7l_54libsite-packageswfastcgi.py", line 633, in read_wsgi_handler
    handler = get_wsgi_handler(os.getenv("WSGI_HANDLER"))
  File "c:userssachin kumar.virtualenvslogin-zru7l_54libsite-packageswfastcgi.py", line 586, in get_wsgi_handler
    raise Exception('WSGI_HANDLER env var must be set')
Exception: WSGI_HANDLER env var must be set

StdOut:

StdErr:


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.