By prajjwal1988
I have a Django One Click Install Image VPS on Ubuntu 14.04 and have a site running which has minimal traffic. I need to host another independent Django website on it. As I am new to webserver configuration. Could Someone please guide me through the NGINX and Gunicorn Upstart configuration to host multiple sites. Consider my Sites are: www.mysite1.com www.mysite2.com I have already referred the questions:
But it does not mention the NINX and Gunicorn configuration to serve 2 independent websites on the same server.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The one-click install for Ubuntu 16.04 is set-up a little differently. I do not see a gunicorn.conf file in etc/init directory and the app_server section of the settings file points to a gunicorn.socket file.
I’m lost. How do I setup multiple django sites using the Ubuntu 16 one-click install option?
This comment has been deleted
Hi After setting up the new site. When I try to restart nginx server. I get following error
Is there any thing else to modify ?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.