Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 19-05-2009
Member
 
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.
Reply With Quote
  #2  
Old 19-05-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
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.
Reply With Quote
  #3  
Old 19-05-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
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.
Reply With Quote
  #4  
Old 19-05-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
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.
Reply With Quote
  #5  
Old 19-05-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Create Virtual Directory in server via Visual Studio"
Thread Thread Starter Forum Replies Last Post
Create an Object in Visual Studio 2008 kclark Software Development 1 18-11-2010 09:39 AM
How to create solution and projects in Visual studio 2010? CRiley Software Development 4 04-02-2010 06:26 AM
Should I create a virtual directory Lashawn Software Development 5 19-01-2010 09:28 PM
How to create calendar add on visual studio Saaarc Software Development 3 30-07-2009 03:10 PM
What is virtual keyword and how to implement it in interface using Visual Studio RockOn Software Development 3 04-06-2009 08:08 PM


All times are GMT +5.5. The time now is 01:42 PM.