Multiple local websites with same ip and port

Hello,

I have Windows Server 2003 box and I am trying to create multiple local websites e.g. /project1">http://<machine_name>/project1, /project2">http://<machine_name>/project2 etc...

By default, <machine_name>/ is pointing to a folder in my D drive e.g. D:\Projects. All my projects are under D:\Projects folder like D:\Projects\Project1, D:\Projects\Project2.

Whenever I create a folder in D:\Projects, it should be automatically accessible by going to http://<machine_name>/<project_folder>

 Is it possible to do this? I don't want to configure each website and give it a separate port number and all.. I want to be able to create a folder under the root folder, copy my website into this new folder and should be able to browse to it.

 TIA.

0
tempid159
1/26/2008 4:13:18 AM
asp.net.config-deploy 12495 articles. 0 followers. Follow

4 Replies
786 Views

Similar Articles

[PageSpeed] 27

Here is the thing, you can not have the virtual folders ( or web applications) "automatically" created. But you dont have to deal with more than 1 port etc.

Here is step by step instructions how to achieve what you want.

1. Right click on the default website and choose create new virtual folder

2. Provide an alias ( project1 , 2 etc ) and in the next directory filed locate the correspoding folder under D:\Projects.

 3. Provide the necessary permissions and thats it you are good to go.


HTH
Thajeer

"Dont forget to click "Mark as Answer" on the post that helped you. This marks your thread as Resolved and the community will know you have been helped."
0
thajeer
1/26/2008 5:06:42 AM

awesome.. almost there..

now i get this -

The virtual path '/Controls/Header.ascx' maps to another application, which is not allowed.

i dont want to replace / with ~/ for all references.. is there a way I can still use / and cause no issues.. ? can I set the base path or something in web.config or any setting in IIS?

thanks a lot.

0
tempid159
1/26/2008 2:31:47 PM

is it actually another app . it should not be, should be relative path within.


HTH
Thajeer

"Dont forget to click "Mark as Answer" on the post that helped you. This marks your thread as Resolved and the community will know you have been helped."
0
thajeer
1/26/2008 5:24:08 PM

I have created a default website node in IIS pointing to d:\projects.I have created only one virtual directory under this which has a project under d:\projects\ . This project uses references like / instead of ~/ everywhere. It's trying to look for the .ascx under d:\projects instead of d:\projects\project1.

TIA.

0
tempid159
1/27/2008 2:46:12 PM
Reply:

Similar Artilces:

Multiple Local IP Ports
Hi, Am looking for the simpliest way to open local ports (10,20,50) using ttcp via an database table, same time. Lieven. Lieven wrote: > Am looking for the simpliest way to open local ports (10,20,50) > using ttcp via an database table, same time. Your question is a bit too vague. What exactly are you trying to accomplish? -- Remy Lebeau (TeamB) Hi Remy, For instance I want to open port 5050,5051,5052,5053.5054 localhost same time. Now this open ports should communicate read from write to port 6000 . How could this be done merely using ttcp? Lieven &...

Multiple Local IP Ports #2
Hi, Am looking for the simpliest way to open local ports (10,20,50) using ttcp via an database table, same time. Lieven. ...

multiple websites with multiple ip
Hi, I'm trying to config multiple websites with multiple ip (each website with one ip) with IIS6, which I guess should be easy if there's possible to config multiple websites with one ip, altough like this I can have one ftp server for each site using the standard port. anyway, when I try to start a website with another ip then the first one already runnig, it says it can't because it's using the same port as the first one. Can anyone tell me if it's possible to share the same port (80) with multiple websites and ips, and how to configure? thank you in advance Jordi ...

Deploy my website to port 80 in my local IIS?
In my window 2003 server ,can you tell me which port should I deploy my website to my local IIS?  After I installed sharepoint when I deploy my website to local IIS ,it seems that I can only deploy to administration folder whose port number is 8089, is there possibility for me to deploy my website to port 80 and how?   Thanks You may add an additional IP in your network controller, and select that IP in IIS properties of the website.If e.g. IP 192.168.0.100 is the IP of your server and port 80 is being used you can add 192.168.0.101 and select this IP in your website. Though...

How can I have Multiple Portals & 1 Local IP & Different Port Numbers
Hi everyone, here is my situation. I installed DNN 4.0 and created a portal with an IP address of 172.16.11.107:8100and it works perfect. No problems. Then I created another portal and wanted to give the ip address of 172.16.11.107:8200. I created a web site under IIS and gave the same address of 172.16.11.107:8200 But the problem is, when I go to 172.16.11.107:8200, I am immediately forwarded to the first portal and the browser shows 172.16.11.107:8100 as the IP address. How can I have multiple Portals with one ip address, I don't have DNS Server on my system, all I have is one ip addr...

Source IP: Multiple IPs one Port
Ok. So I'm in the process of upgrading all the Cisco firewalls to IPFire. So far I've been getting compliments on how much faster the internet is. I didn't want to brag to them about how I invented it. It's our little secret. An interesting problem popped up in this: One client is using a spam filter service that forwards their email through 1 of 15 servers on a few different networks. I'm supposed to restrict permission on inbound port 25 to these 15 addresses or to those few networks. I could do it in GWIA but how does one do something like this in ...

port redirection, multiple IP addresses (or run on port 80)
Hi all. I have a problem (I am newbee in SuSE firewall0. I do have a openSuse 11.4 and multiple IP addresses on eth0 interface eth0, 10.5.6.11,10.5.6.12/10.5.6.13/10.5.6.14........ I run (trying to/have to) multiple TOMCAT servers. I am trying to have each tomcat instance listen to on separate IP address for example: tomcat 1 - 10.5.6.11 - HTTP=8080 HTTPS=8443 tomcat 2 - 10.5.6.12 - HTTP=8080 HTTPS=8443 What i am trying to do is to redirect a) tomcat 1 - 10.5.6.11:80 to 10.5.6.11:8080 10.5.6.11:443 to 10.5.6.11:8443 a) tomcat 2 - 10.5.6.12:80 to 10.5.6.12:8080 ...

[PATCH lib/Net/Config.pm, MANIFEST, t/lib/Mock/Socket.pm, lib/Net/Config.t] Add Tests for Net::Config
Here's a test suite for Net::Config. In the process of writing this, I've fixed an apparent bug that prevented single values from becoming array references when necessary. I think it's right, but perhaps Graham should weigh in on this. In the process, with some advice from perl-qa, I've added a mock object so the test could control the output of Socket::inet_ntoa() and Socket::inet_aton(). t/lib/Mock/ seemed like as good a place as any. I'm happy to rework this patch if it personally offends anyone whose opinion matters. :) -- c --- lib/Net/~Config.pm S...

deploying a .net website
please tell me how to deploy a .net website in vs.net 2003 please respond to my question thanking you See Deploying ASP.NET Applications - Part 1http://www.15seconds.com/issue/030806.htm Deploying ASP.NET Applications - Part 2http://www.15seconds.com/issue/030820.htmThanks,Teemu KeiskiFinland, EU...

Catch IP Address of Local Machine Insted of Server IP Address where the application is deployed at
Hai ,  I have a survey that will be sent to all the users across a group, This survey application is deployed on webserver and that link will be sent to all the group members.Right now it was capturing the IP  Address of server for all members in group , insted i need each members Local machine IP Address to be sent the database via server.  I tried using the following two requests but all they are doing is capturing the server ip address:  String clientName = Request.ServerVariables["LOGON_USER"]; String clientName = Request.ServerVariables["REMOTE_ADD...

Develop in .NET 3.5...Deploy on .NET 3.0...Assembly strong name issue in web.config
Hi. I develop locally using web developer express 2008. I have .NET 3.5 installed on the development machine.I am trying to deploy to a Windows Server 2003 machine running.NET 3.0.Not surprisingly, I get an error about the strong assembly names referenced all over my web.config when I try to access the site on the production server.I don't think any of my code truly relies on .NET 3.5--it should all be compatible with the 3.0 framework.Here's my error message:Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77...

Deploying a website on Local IIS
Hi,  We have just now started making websites in vs.net 2005. But we are facing some problem while deploying website When we debug the application it takes http://localhost:2026/webapp but we want it should run on http://localhost/webapp  For testing i in property pages of project in startup option in server tab i checked custom server and typed http://localhost/webapp in that case it gives following error An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the defa...

Localization After Deployment for Website Project
I have a specific requirement for my application. My customer needs localization of the application to an extend, the resource (.resx) files are just translated and copied into App_GlobalResources folder. Based on the resource (.resx) files available the users shall be able to pick up the language setting from a dropdown list while they configure their profile in the application. The application is a website project and not a web application (WAP). It is a nice feature and good have it in the application. Any help would be greatly appreciated! Look at http://www.guysmithferrier.com/ and in...

DNS config for IP port
I would like to know if it is possible to set up a DNS record to point to specific ip port. I want to set up an internal web app that I can have my users type in a name and go to the web server on a specific port. For example: type in "Calendar" in the URL and have it go to xxx.xxx.xxx.xxx:82. This is on NW6sp3. TIA Richard G > I would like to know if it is possible > to set up a DNS record to point to specific ip port. I want to set up an > internal web app that I can have my users type in a name and go to the web > server on a specific por...

Web resources about - Multiple local websites with same ip and port - asp.net.config-deploy

Code division multiple access - Wikipedia, the free encyclopedia
Code division multiple access ( CDMA ) is a channel access method used by various radio communication technologies. It should not be confused ...

Man stabbed multiple times in street fight
A 23-year-old man suffers multiple stab wounds in a wild street brawl involving up to 100 people.

Man charged with murder of 21yo found on road in Tewantin with multiple stab wounds
Police charge a man with the murder of a 21-year-old man found lying on a road with multiple stab wounds to his chest.

Multiple shots fired at Atlanta mall - abc13.com
Multiple shots were fired Saturday evening in a suburban Atlanta mall, prompting a frantic rush by shoppers to evacuate.

Nigeria: Over 70 Feared Killed in Borno, Adamawa Multiple Blasts
More than 70 people were feared killed in multiple bomb attacks believed to have been carried out by Boko Haram militants and their agents in ...

Facebook is testing multiple topic-based News Feeds for mobile devices
... the information you want to see at the appropriate times. According to the screenshots taken by Jason Stein, Facebook looks to be testing multiple, ...

Miami teen shot multiple times at grandma's home
The victim reportedly remains in the hospital as police continue to search for the suspect

Gov. Jerry Brown pardoned Robert Downey Jr. for his multiple crimes in the ā€™90s
Iā€™m old enough to remember when Robert Downey Jr. was an utter mess. Back in the ā€˜90s, I lost count of how many times he was arrested, how many ...

Gas tank explodes at plant in Nigeria; multiple fatalities reported
CNN Gas tank explodes at plant in Nigeria; multiple fatalities reported CNN Kano, Nigeria (CNN) An industrial gas tank exploded in southern ...

Draymond explains how multiple Warriors lead in their own way
... Search 42° Navigation Home Giants A's Sharks Warriors Kings 49ers Raiders Quakes Insiders More Tickets Shop Watch Draymond explains how multiple ...

Resources last updated: 12/31/2015 10:11:36 AM