-
Published Question
So I have two website running on my droplet( Nginx + Gunicorn).
What If I want to install different django version on each project?
I created virtualvenv in each projects directories and installed succesfully differ...
1
•
•
By
HHH
-
Published Answer
Hi everything is working fine. I forgot to update my post. The problem was that I messed up path in my project directory.
•
By
HHH
-
Published Question
After I type in my browser www.site2.com, it open page of www.site1.com.
I think my configuration for both nginx and gunicorn are fine.
etc/nginx/site-available/site1 - my default website www.site1.com
```
upstream ...
3
•
•
By
HHH
-
Published Answer
Never mind this fix the error:
cd /etc/nginx/sites-enabled/
sudo rm -r test-django
sudo service nginx restart
* ...
•
By
HHH
-
Published Question
I'm following this tutorial (https://www.digitalocean.com/community/questions/setup-multiple-django-websites-on-django-one-click-install-image-vps?answer=15071) by @asb.
But i got this error when I try restart nginx:
...
1
•
•
By
HHH
-
Published Question
The problem is that I don't know the password and I have to close PuTTy and connect again to my server everytime.
2
•
•
By
HHH
-
Published Answer
Everything is working now, the problem was in Django settings.py.
I’ve changed
ALLOWED_HOSTS = ['mydomain.com']
…
•
By
HHH
-
Published Question
http://i.imgur.com/V4ErCkZ.png (http://i.imgur.com/V4ErCkZ.png)
I got HTTP error 400 when I try to type www.mydomain.com in my browser
I tried yesterday to use A record:
A | 188.xxx.xx...
1
•
•
By
HHH
-
Published Answer
DO is using Django 1.6.
•
By
HHH
-
Published Question
Just created an account and discovered that DO is using old Django.
I consider leaving Digital Ocean because of this.
3
•
•
By
HHH
-
Published Answer
Are we living in medieval age? Why Django on Digital Ocean is still 1.6?
•
By
HHH