Question

Ip opens Django App but Domain Opens Nginx Welcome Page

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?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Any luck on this? facing the same issue

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.

Regards, Bobby