Question

Ip opens Django App but Domain Opens Nginx Welcome Page

Posted September 28, 2020 109 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.

×
1 answer

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

Submit an Answer