2👍
✅
Okay after doing so many trials, I have come to the conclusion that the major issue is in APACHE configuration.
Replacing the /etc/apache2/sites-enabled/test_site.com.conf
content with below fixed my problem.
WSGIScriptAlias / /home/ubuntu/v1/website-info/app/website/website/wsgi.py
WSGIPythonPath /home/ubuntu/v1/website-info/app/website
<Directory /home/ubuntu/v1/website-info/app/website/website>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /static/ /home/ubuntu/v1/website-info/app/website/ui/static/
<Directory /home/ubuntu/v1/website-info/app/website/ui/static>
Require all granted
</Directory>
ErrorLog /var/log/apache2/error.log
Source:stackexchange.com