Change the domain
If you change the domain of a web domain the system also changes the symbolic link to the site. Although its not changing the PHP open_basedir. The old name of the domain is still in the base dir. This causes some problems with file opening.