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 manage.py runserver localhost: 9000” run well for me and now while running this last command I can access my application that is hosted in “djangoproject” without No change using the djangoproject skeleton and just re-editing the necessary “.py” as urls.py, views.py 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
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.×