I have a project working on a subdamin that I changed already and created a new alias to the new one.
In my .env file and configuration files I have set the new domain and reset the server. But I'm getting a 301 redirect to the old domain.
What I have to do? Is this a Laravel thing? I changed the new url on this files:
.env cache/config.php config/app.php
Maybe is something with nginx configuration?
My version is Laravel 5.3
via Gerard Luque