I just changed my WordPress website domain name (on the same server). Everything works fine, and the paths are correct. I can install plugins and updates without any problem.
However, I can only upload media when the wp-content
directory's permissions is set to 777. When I get it back to 755 I get an error that the file couldn't be copied to the folder.
What could cause this problem?