Question about Multiple Website with Folder option

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
7/15/2009 2:38:22 AM
Gravatar
Total Posts 17

Question about Multiple Website with Folder option

Dear All,

Can anyone tell me how can i configure IIS such taht all requests are handled by the ASP.NET .

I have multiple websites based on folder option. Currenlty when i access my child websites, it display a message

 

My Main URL :
http://localhost/CRM/Default.aspx

My Sub Sites which do not work:

http://localhost/CRM/Client1/Default.aspx
http://localhost/CRM/Client2/Default.aspx


However, these works perfectly fine when i run the source code from Visual Studio on port basis.

Regards,
Imran
 

7/15/2009 7:02:41 AM
Gravatar
Total Posts 18439

Re: Question about Multiple Website with Folder option

Hi,

As it says in the documentation, http://www.mojoportal.com/multiplesitesbasedonfoldernames.aspx

Folder based sites can only be one folder deep, the first site must be a root level site it cannot be a virtual directory sub folder. The child sites will be at first level folders.

So you can have

http://localhost

as the first root level site and then you can have

http://localhost/Client1/Default.aspx

but you cannot have it 2 levels deep like http://localhost/CRM/Client1/Default.aspx

Hope it helps,

Joe

7/15/2009 9:24:27 AM
Gravatar
Total Posts 17

Re: Question about Multiple Website with Folder option

Dear Joe,

Thanks for your reply. Does this mean i can not run multi website on local machine without Visual Studio, and i have to deploy this on live server to remove localhost, or if i register a domain with CRM, will following not work?

 

Main website : http://www.CRM.com/Default.aspx

Child Site 1:  http:///www.CRM.com/Site1/Default.aspx

Child Site 2: http://www.CRM.com/Site2/Default.aspx

 

Regards,
Imran

7/15/2009 9:37:26 AM
Gravatar
Total Posts 18439

Re: Question about Multiple Website with Folder option

That will work because http://www.crm.com is a root level web site and the child sites are 1 folder deep.

You can also do it on a local machine using http://localhost as the root site and child sites can be like http://localhost/site2/Default.aspx

Hope it helps,

Joe 

You must sign in to post in the forums. This thread is closed to new posts.