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?

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.

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