I am facing an issue with file uploads. I installed a new installation of Craft CMS on Microsoft Azure server. MS Azure assigns a default domain to your webapp like example.azurewebsites.net. So while the default domain was assigned, I uploaded few asset files (images) successfully.
Later we had a custom domain added to Azure like mydomain.org Once the custom domain was mapped, I edited the SiteURL (in Settings -> General -> mydomain.org) to the custom domain. Now I am unable to upload asset files.
The error log shown in the Craft CMS craft.log (from Server Info) is move_uploaded_file(): Filename cannot be empty (D:\serverpath\craft\app\assetsourcetypes\BaseAssetSourceType.php:170)
Can someone please help.