Edit buttons and Images not working

Permalink
I am using cloud flare for my main website so to check the changes done on instant basis, I have created a alias domain in front of cloud flare. So the changes done on the site will reflect immediately.

I am using concrete5 CMS. The problem I am facing since last few days is that the images on alias domain is not loading. Also in admin side of the site the icons to edit block in concrete5 is not loading. logo is also not loading.

The images url has been changed automatically.

So can anyone guide me what is wrong over it.

Thanks and Regards

1 Attachment

 
parth0072 replied on at Permalink Reply
I have a alias domain set up for my domain. For example I have main domain xyz.net and have setup such that xyz.abc.com is alias domain of xyz.net.

The problem I am facing is now the images and other icons are fetched dynamical using php script, it fetches domain name automatically, so the image located in images folder in root will be fetched as xyz.net/images/1.jpg on main domain

now on alias domain it is try to fetch the image from xyz.abc.com/images/1.jpg