400 Error, Bad Request when visiting domain name, IP address loads fine

Job ID: 31862601

Budget: ₹600 – ₹1,500 INR

I have a django-react based project. It is on AWS. Domain is on hostinger. Server is fully set. DNS mapping is done. But for some reason, wen I hit the website with domain name it's not working(400 bad request)
The same when hit on public IP , is working. There is no information on the error.logs of the server. Any help on this would appreciated.
Related categories: Python Linux Django Amazon Web Services Node.js