From vs.2005 should I copy the project to the root?

Discussion in 'Hosting Services / Control Panel' started by jackxxx, Nov 29, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. This is my first attempt at puttingour web application on a host. From vs.2005 should I copy the project to the root?

    I guess I'm looking for some insider help on the best practise for this. Anything you can share with a newbie is appreciated.

    Thank you,

    Post Edited By Moderator (mjp [DASP]) : 11/30/2007 1:44:52 AM GMT
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    This is really up to you.


    If you want the web application to show up when user type in your domain name, then you put the app in the root. If you want the application to locate in a subdirectory, eg. domain.com/dir1, then you upload to a sub folder.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. If you can yes, and you also have the ability to create an application for a folder in your Control Panel.
    The root is an application by default so placing your app on the root will work right away.
    Creating an extra application is helpful for additional instances, even blending classic ASP with ASP.NET
     
  4. Ok, so what possible issues will I face if I create a subfolder for the application? (domain.net/client1)

    Thank you again,

    Also, sorry about not entering a subject!
     
  5. One important thing to remember when setting up an app in the subdirectory, is that you need to define that subdirectory as an "ASP.NET app directory" in your control panel. Sothree main steps:

    1. Create the folder
    2. Copy your website there, from VS2005 or FTP
    3. Enable the folder in your control panel as an ASP.NET application folder

    Hope that helps.

    John
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page