DisallowedHost at / Invalid HTTP_HOST header: 'globalsjconsultant.com'. You may need to add 'globalsjconsultant.com' to ALLOWED_HOSTS.
I wanted to add a custom domain by updating nameservers. I have added allowed host in settings.py but it is not working. Later I added allowed hosts in vercel environment variables also but that also did not work. Can you tell what is the issue?
setings.py from decouple import config, Csv ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='127.0.0.1', cast=Csv())
.env file ALLOWED_HOSTS=127.0.0.1,.vercel.app,globalsjconsultant.com,www.globalsjconsultant.com
Deployment URL: [https://globalsjconsultant-k3qoc71sr-muhammad-safdars-projects-58d3387f.vercel.app/](https://globalsjconsultant-k3qoc71sr-muhammad-safdars-projects-58d3387f.vercel.app/)Custom Domain: [https://globalsjconsultant.com/](https://globalsjconsultant.com/)Environment (local, preview, production): production
Project Framework: django