Results 1 to 5 of 5

Thread: Create Virtual Directory in server via Visual Studio

  1. #1
    Join Date
    May 2009
    Posts
    57

    Create Virtual Directory in server via Visual Studio

    I am a web developer. I am managing a website in Microsoft Visual Studio 2008. I want to know a procedure to create and configure a Virtual Directory in my server. I want to add a virtual folder to store a web content. So that, this web content can be easily accessible to my visitor. Anyhow I want to know the steps to create a Virtual Directory in my development server and manage it by Microsoft Visual Studio.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Create Virtual Directory in server via Visual Studio

    Hi,
    To create a virtual directory you can use IIS Manager. A virtual director behave as it is in the root directory of web server but normally it stored somewhere else. Below are the steps to create a virtual directory.
    1. Open IIS Manager.
    2. Expand the Local computer.
    3. Expand to the web site to you want to add a virtual directory.
    4. Right click on the folder of website.
    5. Click on New > Select Virtual Directory.
    6. A Virtual Directory Wizard will pop-up.
    7. Click Next.
    8. Type a name for the virtual directory > Click Next.
    9. Type a short and simple name which can be easily accessible.
    10. In the Path box, enter or browse to the physical directory to the virtual directory folder and select Next.
    11. Tick on the check boxes of permissions which is assign to the users.
    12. Select Next and Finish.

    A new virtual directory is created now.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Create Virtual Directory in server via Visual Studio

    Hi,
    To create a virtual directory you can use IIS Manager. A virtual directory behave as it is in the root directory of web server but normally it stored somewhere else. Below are the steps to create a virtual directory.
    1. Open IIS Manager.
    2. Expand the Local computer.
    3. Expand to the web site to you want to add a virtual directory.
    4. Right click on the folder of website.
    5. Click on New > Select Virtual Directory.
    6. A Virtual Directory Wizard will pop-up.
    7. Click Next.
    8. Type a name for the virtual directory > Click Next.
    9. Type a short and simple name which can be easily accessible.
    10. In the Path box, enter or browse to the physical directory to the virtual directory folder and select Next.
    11. Tick on the check boxes of permissions which is assign to the users.
    12. Select Next and Finish.

    A new virtual directory is created now.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Create Virtual Directory in server via Visual Studio

    Here are very simple steps to create your own virtual directory using IIS. It is a must that you have a IIS installed on your system.
    1. In your IIS Manager Click on Menu > New Web site.
    2. Select browse button in the New Website box. A Choose Location window will pop-up.
    3. Go to Local IIS Tab.
    4. Select the Create New Virtual Directory option on the right side.
    5. Give the name for the Virtual Directory. And browse to your physically directory.
    6. If you don't want the directory you can delete it by the delete option in Choose Location Window.
    7. Select OK to exit.

  5. #5
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Create Virtual Directory in server via Visual Studio

    I am posting the steps to configure your virtual directory. If you had created your virtual directory you can follow the steps to configure it. First to configure the security and authentication for a virtual directory run you IIS Manager and do this :
    • Right on the virtual directory and select properties.
    • Select the Security tab > Authentication > Access Control > Select Edit
    • Tick the check box for 1). Authentication method > 2). Enable anonymous access > 3). Windows Integrated Authentication.
    • Select OK
    • Now in Windows Explorer, open the mail folder which contains the web pages for the site. Right click on the folder and Go to Sharing tab.
    • Tick on Sharing and security.
    • In the Properties Windows click on Security tab.
    • Select the list of Group or User name in the box.
    • Select the proper permission for the group or user in the Permission List
    • Click on Apply > OK

    Your virtual directory folder is now configured to access.

Similar Threads

  1. Create an Object in Visual Studio 2008
    By kclark in forum Software Development
    Replies: 1
    Last Post: 18-11-2010, 09:39 AM
  2. How to create solution and projects in Visual studio 2010?
    By CRiley in forum Software Development
    Replies: 4
    Last Post: 04-02-2010, 06:26 AM
  3. Should I create a virtual directory
    By Lashawn in forum Software Development
    Replies: 5
    Last Post: 19-01-2010, 09:28 PM
  4. How to create calendar add on visual studio
    By Saaarc in forum Software Development
    Replies: 3
    Last Post: 30-07-2009, 03:10 PM
  5. Replies: 3
    Last Post: 04-06-2009, 08:08 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,711,504.94116 seconds with 17 queries