H
H
howuu2019-03-08 04:56:58
Django
howuu, 2019-03-08 04:56:58

Ip instead of name at godaddy?

Hello, I have vps ubuntu django-nginx-gunicorn and godaddy domain,
I attached it somehow like this (sorry, with a picture, if there is a better way to do it - write)
5c81ca03b5b7b787524944.png
Django allowed hosts contains both domain and IP address and 127.0 .0.1 , in gunicorn bind 0:8000, in nginx config the domain name of the site.
In general, the problem is that if you connect to the domain from a computer, it opens the site, but immediately shows the ip address in the address bar, but if you open it from the phone, then everything is fine, I did not do the test on other computers, but I did the test from the mobile Internet on the phone and wi-fi on the phone and there the domain name does not change to the ip address, what's the problem here?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question