Hi
I uploaded my project on host but I forgot to set correct data in .env file .
then I modify .env and set correct data and upload it again. but previous configuration on .env remains.
what is the problem?
.env is not in version control by default, so it will not be included in any commit/push/pull. You would need to ssh onto the server and write a .env file there instead; or you can create actual environment variables on the server
jldrw will be along shortly to tell you that .env is not meant for a production environment - it's one of his "things"