Vishal Sharma
Vishal Sharma

Reputation: 2803

what is the correct way to add multi site option to CMS?

we have already created a custom cms. now we have to provide multi site option to this.

i have initial idea that i have to create a default project which contain codebase that will be used to serve pages created from cms

for a single site it is currently supported , and even when we create manually another site then also it is working fine..

my question is what i m doing is really multisite ? ( we have one cms , but for every site we are creating separate application in IIS) if yes, how would i able to create default application with certain folders,files in IIS programmatically or with some batch commands ..?

if no , can any one guide me on how to create multi site in cms by providing some tutorials on how multi site works in cms ?

Upvotes: 0

Views: 69

Answers (1)

Tom Hall
Tom Hall

Reputation: 4306

I don't fully follow your question, however, from what I do understand, you have a single code base, and you want to host multiple websites from the single code base, e.g. www.domain1.com, www.domain2.com, etc.

Well, if that is the case, you can very easily configure one IIS website to accept multiple hostnames to the same code base by setting up site bindings (see: http://www.orcsweb.com/blog/mark-newnam/how-to-set-up-site-bindings-in-internet-information-services-iis/).

As for your custom built CMS system, it will need to determine what the hostname is in order to display the correct website.

Upvotes: 1

Related Questions