Ip opens Django App but Domain Opens Nginx Welcome Page

Posted September 28, 2020 313 views
Getting StartedDjangoDeployment

Hello. So if i go to my ip everything works fine. The Webapp opens and i can use everything. But i want to acces this with my Domain. With Cloudlfare i did an A Record Entry to Forward my domain to my ip. But if i open my domain it only shows the welcome page of nginx. How can i fix this problem?

edited by bobbyiliev

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.

Submit an Answer
2 answers

Hi there @silasueberschaer,

I can see that both your site and IP show the correct content now.

Would you mind sharing here with the community how you fixed the problem?

Usually, this is caused by different server blocks defined at the /etc/nginx/sites-enabled/ directory.


Any luck on this? facing the same issue