Custom domain displaying basic template site instead of site content
bergencountygsa
HOBBYOP

2 years ago

I have a Django project that I deployed. It works through the basic URL that Railway generates (aside from the media files not being served but that's a different problem). I bought a url from GoDaddy and I'm proxying it through CloudFlare. I set up all the DNS records, copied over the namespaces, added them to the ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS variables in Django's settings.py file, and have redeployed the site multiple times with different changes to try to get it to work. However, no matter what I do, the url bergencountygsa.com displays the basic template site GoDaddy provides you with a domain instead of the actual site content, despite that site content being displayed when I use Railway's generated URL. How do I deal with this?

Solved

5 Replies

2 years ago

Please show me your DNS settings on Cloudflare.


bergencountygsa
HOBBYOP

2 years ago

Please show me your DNS settings on Cloudflare.

I should also clarify that clearing the Cloudflare cache did fix it very temporarily, but then it went back to showing the demo page instead of site content.



bergencountygsa
HOBBYOP

2 years ago

So it's showing what I want it to show sometimes, but not other times. Apparently clearing my browser's cache fixed it I think.


bergencountygsa
HOBBYOP

2 years ago

Anyway now I just have to figure out how to get it to serve media files from 2 different folders. Thanks!


Status changed to Solved brody over 1 year ago


Loading...