When domain name is issued to the server address it and not give in the allowed hosts in settings.py it showing an big error and showing the whole settings.py in the webpage the error can be seen in the respective images.