How do you get images to display on a multi-site set up?

Celero Solutions asked on March 31, 2014 12:22

I created a new site within an existing client's instance of Kentico, client.dev. I added another host header called myclient.dev to the existing client.dev site in IIS I created a new folder called myclient under the App_Themes folder and copied the img folder, including all of the images, into there I updated all references to the images in my master template to reflect this new path i.e. /App_Themes/myclient/img/

When I load the site it displays all images as broken, for example the logo, logoMCN.gif. When I navigate to http://myclient.dev/App_Themes/myclient/img/logoMCN.gif it displays “page cannot be found” However when I navigate to http://client.dev/App_Themes/myclient/img/logoMCN.gif the logo displays.

Even when I put the absolute URL to the image in the master template, i.e. http://client.dev/App_Themes/myclient/img/logoMCN.gif, while not ideal, doesn't even work…

Is there a way to display the images on a multi-site set up?

Recent Answers


Brenden Kehren answered on March 31, 2014 15:10

My guess is you don't have your second site setup properly within Kentico. You should have the site URL as myclient.dev in Site Manager. You will also need a license key for that domain.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.