How do I make my application visible on the web

And now I have the following situation,

First I do not see any errors, because the commands “sudo nginx -t” and “python3 runserver localhost: 9000” run well for me and now while running this last command I can access my application that is hosted in “django_project” without No change using the django_project skeleton and just re-editing the necessary “.py” as, and add the “html” files of my application. EVERYTHING ALRIGHT HERE. If I give “Control-C”, then I can not access my application and send me the error bad 502, but I think this is the right thing, because I am accessing through the test server.

But according to the documentation I made several changes in nginx and gunicorn, which do not produce any effect, because when access by the name of my domain “www.xxxxxxxxxxx.cxx” I continue releasing the page html index.html that is hosted in var / www /xxxxxxxxxxxxxxxxx.cxx / html and is not redirected to my application.

As I mentioned, I followed all the steps of the documentation sent to me.

Please, to achieve success with this, you can give me some additional recommendation. ? To make and work

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


if you’re right. I am thoroughly reviewing the whole procedure and very carefully. In what with the help of others, manage to start, I will comment on the details of “why?” I did not work, and I hope this is soon, because it is driving me crazy, not being able to achieve my goal.

Thank you. Your contributions I consider and see in that direction related to gunicorn

Hi @maxgonpe

Remember to either use the Reply-link or use the @ to notify others - otherwise it’s easy to overlook new comments.

Are you using the Django one-click-app? If yes, then your default path is /home/django/django_project

If not, what/how did you install the server?

Thanks for your interest in helping me, well among so many things I have tried, I lean for these three as the most successful:

In all the tutorials I have reviewed, do not let me clear the union between what I am doing in my python directory and what is published. good. I hope you give me some way to go. Thanks in advance