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?
5 Replies
2 years ago
2 years ago
Both https://bergencountygsa.com/ and https://bcgsawebsitepublic-production.up.railway.app/ are showing the same page for me?
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.
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
