Two sites on one account

Discussion in 'ASP.NET 2.0' started by SYEDMONTY, Jan 6, 2007.

  1. Hello All,

    I want to setup 2 websites on same server by making seperate folders on it. Please suggest me how should I manage WEB.config, App_Data and App_Code folders.

    I am using SQL Server 2005 Express and ASP.NET 2.0 and I have to upload it on discount.asp hosting.

    Your help be highly appreciated.

    Regards

    Post Edited By Moderator (mjp) : 1/8/2007 11:02:31 PM GMT
     
  2. When visitors come to the main site domain will you have them choose or would you like to capture the domain they came in with?


    For each of the asp.net sites create an application with the Control Panel tools.

    Your site root will already be one by you'll need to make the root folder of the other site one.

    From there your root and the other root folder can each have their own web.config.

    To see this is VS use the Add Website feature while the first/main site is open.
     
  3. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    We do not support SQL Express on our hosting platform. You will need to add the SQL 2005 database addon via the control panel. You can still develop with SQL Express on your local environment, but in the live hosting environment you will need SQL 2005. We do provide an automated Attach MDF Tool in our control panel to facilitate the transfer of local SQL Express databases to the live SQL 2005 database.

    Eric
    DiscountASP.NET
    http://www.DiscountASP.NET
     

Share This Page