Month: November 2013

Multisite Configuration

Image Posted on Updated on

Today’s post I will try to show you how you can achieve a Multisite configuration on Sitecore. 1. Add Bindings to your existing website on IIS. (Click Bindings in the Edit Site panel on the Right side) multisite configuration bindings

Click Add button, to add new bindings:
multisite configuration add bindings

Put your custom Host name then press OK:
multisite configuration add bindings name

multisite configuration added

You will see this new Browse Website item on the right side of you IIS.
multisite configuration browse

If you wish to check if it’s working, I will assure you that it’s not. We need to add a host name for our custom URL on the C:\Windows\System32\drivers\etc\host file

multisite configuration add hostname
Then Add your website:
multisite configuration content editor

At this point we need to add the website on the Sitedefinition.config under Includes folder of your Instance multisite configuration sitecoredefinition

By default, the SiteDefinition.config have an .example  extension which makes the configuration file not working. To make it work let’s change the file from SiteDefinition.config.example to SiteDefinition.config, then open the file.

multisite configuration sitecoredefinition default

Lets change the site name “mysite” to “website1″ and the startItem=”/home” to startItem=”website1″ (This will point the website1 item on the content editor). The result should be like this:

multisite configuration sitecoredefinition website1

After you follow all the steps provided. You can check now your custom url: multisite configuration www.website1dotcom

You can see that the have no layout. Just add a presentation layer for this to see your desired result.


HTTP Error 500.19 – Internal Server Error

Image Posted on Updated on

When you have encountered this error: HTTP Error 500.19 - Internal Server Error

Try this: (Note: You need to run as administrator)

HTTP Error 500.19 - Internal Server Error - cmd_repaire_dotnetframework

When do you use Static and Dynamic sources

Image Posted on Updated on

Static Source

You should use static sources when you want to include all the items or files that stored under a specific node or folder in the content tree or if you only want to include a specific items or files.

Dynamic Source

When the items or files that you want to include cannot be easily selected, for example, if you want to include everything created after a certain date.

You can refer to Sitecore Package Designer guide for more information and tricks:

When do you use Static and Dynamic sources