My django application is not working in customdomain - django

I recently finished my django project and deployed it successfully without any errors in heroku. It works fine with the appname.herokuapp.com domain. But when i tried to add my custom domain, i got a very different problem.
Only my machine can access the page. Weird right! Yes. The page can be accessed only by me in my machine. But i get DNS_PROBE_FINISHED_NXDOMAIN error. Really weird! I guess this is not the problem with the code and i know i'm missing somewhere in the dns configuration. I bought my domain in big rock. So please guide me through this weird problem.
The development site is arr-coaching.herokuapp.com
The deployed site is www.arccphysics.in (Which you cannot access) :(
And any device connected to my WIFI can open the site. Some serious thing! Please help me out !

Related

Nuxtjs fails to load some modern.js files in UK

I'm facing a very strange issue with nuxt 2.15.8 during production and specifically users who opens the site from UK. The main issue is that images are not hydrating, so after investigation the only thing I could notice in the console is this error
GET https://my-site-name.com/_nuxt/a5d3b1c.modern.js net::ERR_ABORTED 404
There are like 4 or 5 similar errors to this one. I can't ever replicate the issue locally and It never happens unless the user is opening the site from UK. I can replicate it in production by turning on a VPN in UK and open the site in incognito mode.
Any ideas that might fix the issue? The site is deployed on GoogleCloud and cloudflare.

Multiple users facing DNS_PROBE_FINISHED_NXDOMAIN issue

Many of my application users started facing DNS_PROBE_FINISHED_NXDOMAIN issue intermittently. I learned that this could be possibly due to a DNS issue on users' computers or home networks, but it cannot be the case with most users.
My application is hosted on AWS and users in Norway are complaining about the application unavailability issue. When I tried connecting to multiple users, it was throwing DNS_PROBE_FINISHED_NXDOMAIN error
Surprisingly when I pinged IP from user system, it was returning response however pining domain was not working.
I also tried nslookup using domain but no response returned.
In my understanding this is not local computer issue as application works fine most of time but breaks intermittently with referred issue.
Any insight into troubleshooting the issue will be greatly appreciated.

Djang-allauth signup issue on Heroku

before I get any deeper I’d just like to ask if any of you have experienced this issue.
When in local environment logging and signing up redirection work fine.
After deploying to Heroku, logging is fine but after signing up, redirection is not working and I’m getting Server Error 500.
Unfortunately, Heroku logs don’t give me any closer description why it is so.
It is just suspicious that locally is everything fine.
Is there any known issue I should be aware of? I haven’t found anything online and already spent days digging.
Many thanks for any help.

Accessing javascript resource under a Rails Engine throws net::ERR_CONNECTION_RESET

I have a Rails 4.2.1 application with multiple engines under it. The application has been hosted in production with Apache2 and Passenger and was working fine till a few weeks back. I am now facing a strange problem and unable to load assets under one particular engine and get the error "Failed to load resource: net::ERR_CONNECTION_RESET" when trying to load javascript or other asset files under a particular engine.
The application structure is
Root
AssessmentTools (app->assets->javascript->assessment_tools->angular.js)
QuestionBankTools (app->assets->javascript->question_bank_tools->angular.js)
All seems to work fine when loading resources under AssessmentTools (http:///assets/assessment_tools/angular.js), but fails for QuestionBankTools (http:///assets/question_bank_tools/angular.js).
Also, everything seems to work fine on localhost and even in a VM that i hosted on my development machine (with app running behind Apache2 and Passenger), but the problem appears when i host it on server behind a proper a domain.
I have tried cleaning up the server and re-installing the application but without success. I am not able to figure out what could have changed in the past weeks to create this issue.
In my case the problem turned out to be an over eager firewall filter introduced by the data server admin. They had blocked off all url having particular keywords in it.
Fixed the firewall and all is well.

Amazon AWS Service Error

I am currently trying to set up a Virtual Machine and a Database Server for my website to launch off of. I decided to go with Amazon's AWS.
I have beeing working through This Tutorial and am at Part 3 now.
I got to the point where I started the Apache Web Server and went to my local DNS name in my browser, and successfully saw the Test Page.
I proceeded forward with Downloading "Drupal" and got to the section where it says "Configure Drupal". I am now trying to load my local DNS name in my browser again, only to get a 500 Server Error.
I'm not sure what could've went wrong, I only entered the commands in the tutorial for the whole section on "Install Drupal".
Thank you
EDIT: Also, what exactly does Drupal do? And do I need to use it?
Drupal is a CMS system, and you don't have to use it. It is only being used to provide an example for a website. Instead of installing Drupal, you can install your own site on the server if you prefer or even something like Wordpress if you're more familiar with that.
However, if you do want to follow the example your best bet for discovering the problem is to look into what the exact error is. You should be able to find more information about that in the log files located in /var/log/httpd. The error log in there should show you more details about what failed.