The error "Could not reliably determine the server's fully qualified domain name" is harmless, but the fix is easy. See...
https://help.ubuntu.com/community/ApacheMySQLPHP#Troubleshooting_Apache If you are running Django under Nginx and Gunicorn, why are you restarting Apache anyway? Your gateway issue is very common with Nginx and can be fixed by proper configuration of your reverse proxy and ensuring that your Gunicorns are actually running and handling traffic. I've used Supervisor to manage the Gunicorns and it works well for that purpose. http://wiki.nginx.org/HttpProxyModule http://docs.gunicorn.org/en/latest/deploy.html If you find the reverse proxy set-up too confusing, I'd recommend mod_wsgi. I find it easier to set-up and manage than other methods. K On Tuesday, August 13, 2013 1:11:28 PM UTC-7, Muhammed TÜFEKYAPAN wrote: > > I edit my port, sites enabled files etc. > > Now two sites run different port but i got an error: 502 Bad Gateway > > Also when i type "service apache2 restart" there is error "Could not > reliably determine the server's fully qualified domain name, using > 127.0.0.1 for ServerName" error. > > I think real problem this. > > > On Tuesday, August 13, 2013 5:31:07 PM UTC+3, Muhammed TÜFEKYAPAN wrote: >> >> Hello Everyone, >> >> >> I use digitalocean for server and i install nginx and unicorn for django. >> I have one service for my project. I also want to add new django project >> and i made it with making new services. >> >> When my one project running the other project stop. >> >> How can i run two projects same time? >> >> Thanks. >> > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.