473,378 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

wwwroot Question

If i create a new website must my home directory be in the inetpub\wwwroot ?
Because when i have it place somewhere else i can't open a web project using
Visual Studio .Net!
And is it possible to use different IP address on IIS for different websites?
Any ideas?

Nov 18 '05 #1
6 1278
Create virtual roots under wwwroot.

And yes, you can use different ip address.

jeff
"Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote in message
news:43**********************************@microsof t.com...
If i create a new website must my home directory be in the inetpub\wwwroot ? Because when i have it place somewhere else i can't open a web project using Visual Studio .Net!
And is it possible to use different IP address on IIS for different websites? Any ideas?

Nov 18 '05 #2
Jeff thatnks for the reply!
But i have a Virtual wwwroot already!
What my problem is creating a web project with Visual Studio .Net!
If i set my home path directory for example to d:/wwww and try to create a
web project it gives me an ERROR!
And question relating to different IP addresses if i have different websites
with different IP addresses and i want to create a Web project using Visual
Studio it gives me an error saying the need to MAP TO THE SAME SERVER..
Hope this helps!
"Jeff Dillon" wrote:
Create virtual roots under wwwroot.

And yes, you can use different ip address.

jeff
"Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote in message
news:43**********************************@microsof t.com...
If i create a new website must my home directory be in the inetpub\wwwroot

?
Because when i have it place somewhere else i can't open a web project

using
Visual Studio .Net!
And is it possible to use different IP address on IIS for different

websites?
Any ideas?


Nov 18 '05 #3
Hi Patrick:

I've been able to put VS.NET projects anywhere on the local filesystem
as long as I precreate the virtual directory in IIS and point it to
where I want the project to be, then create the project in VS.NET.

Yes it is possible to use different IP addresses. I don't think XP
supports it, but Win2k and 2003 Server both support this. You'll need
to go to Web Site -> Advanced for the settings.
http://www.microsoft.com/resources/d...ltsitesip.mspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 9 Nov 2004 15:32:02 -0800, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote:
If i create a new website must my home directory be in the inetpub\wwwroot ?
Because when i have it place somewhere else i can't open a web project using
Visual Studio .Net!
And is it possible to use different IP address on IIS for different websites?
Any ideas?


Nov 18 '05 #4
Hi Scott,
Can you explain how to "precreate the virtual directory in IIS and point
it to
where I want the project to be".
Woud read the article up thx.

"Scott Allen" wrote:
Hi Patrick:

I've been able to put VS.NET projects anywhere on the local filesystem
as long as I precreate the virtual directory in IIS and point it to
where I want the project to be, then create the project in VS.NET.

Yes it is possible to use different IP addresses. I don't think XP
supports it, but Win2k and 2003 Server both support this. You'll need
to go to Web Site -> Advanced for the settings.
http://www.microsoft.com/resources/d...ltsitesip.mspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 9 Nov 2004 15:32:02 -0800, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote:
If i create a new website must my home directory be in the inetpub\wwwroot ?
Because when i have it place somewhere else i can't open a web project using
Visual Studio .Net!
And is it possible to use different IP address on IIS for different websites?
Any ideas?


Nov 18 '05 #5
Yes, what I will do is create the physical directory on the filesystem
where I want the project, ie:

C:\dev\projects\NewWebProject

Then I'll go into the IIS MMC and create a new virtual directory
(NewWebProject) and point it to the above physical path. You can also
right click on the directory in explorer and go to the web sharing tab
and set up the vdir there.

With the vdir "pre-created", VS.NET will use that instead of creating
a vdir itself (which it always puts under inetpub\wwwroot). Create a
new project in VS.NET and give it http://localhost/NewWebProject as
the URL. The project should end up in the physical path above.

I believe the vdir name has to match the physical folder name for
VS.NET 2003. I also have VS.NET setup for file share web access by
default (Tools -> Options -> Projects -> Web Settings -> Preferred
access method). I think that is the default setting.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 9 Nov 2004 17:30:02 -0800, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote:
Hi Scott,
Can you explain how to "precreate the virtual directory in IIS and point
it to
where I want the project to be".
Woud read the article up thx.

"Scott Allen" wrote:
Hi Patrick:

I've been able to put VS.NET projects anywhere on the local filesystem
as long as I precreate the virtual directory in IIS and point it to
where I want the project to be, then create the project in VS.NET.

Yes it is possible to use different IP addresses. I don't think XP
supports it, but Win2k and 2003 Server both support this. You'll need
to go to Web Site -> Advanced for the settings.
http://www.microsoft.com/resources/d...ltsitesip.mspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 9 Nov 2004 15:32:02 -0800, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote:
>If i create a new website must my home directory be in the inetpub\wwwroot ?
>Because when i have it place somewhere else i can't open a web project using
>Visual Studio .Net!
>And is it possible to use different IP address on IIS for different websites?
>Any ideas?



Nov 18 '05 #6
Thx mate

"Scott Allen" wrote:
Yes, what I will do is create the physical directory on the filesystem
where I want the project, ie:

C:\dev\projects\NewWebProject

Then I'll go into the IIS MMC and create a new virtual directory
(NewWebProject) and point it to the above physical path. You can also
right click on the directory in explorer and go to the web sharing tab
and set up the vdir there.

With the vdir "pre-created", VS.NET will use that instead of creating
a vdir itself (which it always puts under inetpub\wwwroot). Create a
new project in VS.NET and give it http://localhost/NewWebProject as
the URL. The project should end up in the physical path above.

I believe the vdir name has to match the physical folder name for
VS.NET 2003. I also have VS.NET setup for file share web access by
default (Tools -> Options -> Projects -> Web Settings -> Preferred
access method). I think that is the default setting.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 9 Nov 2004 17:30:02 -0800, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote:
Hi Scott,
Can you explain how to "precreate the virtual directory in IIS and point
it to
where I want the project to be".
Woud read the article up thx.

"Scott Allen" wrote:
Hi Patrick:

I've been able to put VS.NET projects anywhere on the local filesystem
as long as I precreate the virtual directory in IIS and point it to
where I want the project to be, then create the project in VS.NET.

Yes it is possible to use different IP addresses. I don't think XP
supports it, but Win2k and 2003 Server both support this. You'll need
to go to Web Site -> Advanced for the settings.
http://www.microsoft.com/resources/d...ltsitesip.mspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 9 Nov 2004 15:32:02 -0800, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote:

>If i create a new website must my home directory be in the inetpub\wwwroot ?
>Because when i have it place somewhere else i can't open a web project using
>Visual Studio .Net!
>And is it possible to use different IP address on IIS for different websites?
>Any ideas?


Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Barry G. Sumpter | last post by:
Complete newbie here. Just sorted out that myASP.asp will ONLY execute on c:\inetput\wwwroot when I access it thru http://localhost/myASP.asp but if I copy myASP.asp to a sub folder of...
1
by: Brett | last post by:
We have an application where the iusr_<srvr> has write NTFS permissions to a folder under the wwwroot (i.e. wwwroot\folder) and also there is a SQL Server database where we must give the...
2
by: J.V. | last post by:
Can I make the files in a subdirectory of wwwroot address like they were in wwwroot? I have a subdirectory in wwwroot named colors and in it is index.asp, and a sub directory named red. Can I make...
2
by: Tom wilson | last post by:
I'm trying to connect to an asp.net project and VS.Net keeps telling me it can't find this share: \\www.mysite.com\wwwroot$\MyWebsite What's wwwroot$? I mean, it's supposedly a UNC share but...
3
by: Tom wilson | last post by:
My asp.net seems to want to connect to a UNC share by default. It can never find the share: \\myserver\wwwroot$\mysite What is this? I know what a standard UNC share looks like and this...
0
by: anat | last post by:
Hi, I start a project in VS2005 in asp.net. In the past I developped projects at home using the IIS and I could see my projecs in Inetpub/wwwroot. Now I have a seperate server in another...
1
by: jweiss | last post by:
I am trying to run cmd.exe so that I can ftp a file to a remote server. I've been doing this for a long time, but something broke. I did some windows updates last week?? I am getting a...
1
by: ducks1010 | last post by:
I get an error message with the below page of Object Expected, Error Code 0. The page loads fine except for the flash code, which is connected to AC_RUnActiveContent.js. The page works fine on a...
1
by: RyudoBlaze | last post by:
Hey everyone, I recently got a job as a computer technician and software programmer, now let me tell you that I am not the greatest with ASP but I do know other languages, and pretty much once you...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.