Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8822679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:09:55+00:00 2026-06-14T06:09:55+00:00

I have never deployed a Django site before. I am currently looking to set

  • 0

I have never deployed a Django site before. I am currently looking to set it up in my deluxe GoDaddy account. Does anyone have any documentation on how to go about installing python and django on GoDaddy?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:09:56+00:00Added an answer on June 14, 2026 at 6:09 am

    For future reference, as I assume you have moved on…

    It is possible to use Django on GoDaddy hosting, using VirtualEnv as they recommend. Python 2.7 is natively installed and works fine, though it isn’t the default version to be run.

    • Enable SSH access on your site.
    • Use the hosting panel to setup your intial MySQL database. It doesn’t need any entries, just make sure it exists and note down the connection info.
    • SSH in, download VirtualEnv.py. You may get the entire tarball, but you only need the single file.
    • Run ‘/usr/bin/python2.7 virtualenv.py –system-site-packages your_new_env’
    • Run ‘source your_new_env/bin/activate’
    • Run ‘pip install django’
    • You can now follow the django tutorials directly, except of course not using runserver (as you already have a webserver running)

    This works for me on a deluxe account, though I would still recommend that anyone who definitely wants to use Django seek alternate hosting. GoDaddy is not very friendly, and I am not certain that everything will continue to work.

    EDIT

    I realized there may also be some confusion in how to get Django running normally inside Apache, without the regular mod_* options. This was my approach:

    • Create your django project somewhere outside of the html directory structure. For example run django-admin in ~/code to create ~/code/yoursite
    • Follow the normal project and database setup as described in the Django tutorials.
    • From your virtual python environment, run ‘pip install flup’.
    • Create the following script ‘django_cgi.py’ inside ~/code (Note the python path!):

      #!~/your_new_env/bin/python
      import sys, os
      
      # Add a custom Python path for your project
      sys.path.insert(0, "/must/be/full/path/to/code/yoursite")
      
      # Set the DJANGO_SETTINGS_MODULE environment variable.
      # This should match the name for the project you added to the path above
      os.environ['DJANGO_SETTINGS_MODULE'] = 'yoursite.settings'
      
      from django.core.servers.fastcgi import runfastcgi
      runfastcgi(method="threaded", daemonize="false")
      
    • Inside ~/html, create or edit the .htaccess file with some variant of the following:

      RewriteEngine On
      RewriteCond %{REQUEST_URI} !=/mysite.cgi
      RewriteRule ^(.*)$ /mysite.cgi [QSA,L,PT]
      
    • Finally, create ~/html/mysite.cgi as follows:

      #!/bin/sh
      ~/your_new_env/bin/python ~/code/django_cgi.py 2>&1
      
    • Ensure everything is chmod’ed appropriately (755)

    This is over simplified but functional, and should result in every request for any page or file being passed off to Django.

    The reason for this runaround is that GoDaddy provides only native CGI support for old versions of Python we can’t use, so we must use our virtual environment. While we cannot use that directly in the CGI scripts, we can fortunately run a shell script and invoke it manually. The mod_rewrite rule just ensures all traffic goes through Django.

    References
    Django with FastCGI
    Start of Django Tutorials
    VirtualEnv

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is probably something stupid as I have never deployed a Rails app before.
I have never saved and retrieved an image to and from the database before.
I have never programed in bash before. I am reading all the files that
I have never used Foxpro before. Can you convert the following Foxpro code into
I have never done any Windows coding and I would like to give it
I have never made a blog before. I am proficient with html and css.
I'm going to be honest and say that I have never deployed an applet,
I've never deployed an app before and now i cant get it to show
I'm new to both ASP.net and AppHarbor. I also have never deployed an ASP.net
I have never come across this issue but most recently I noticed that a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.