How to Know which of the websites is a Default web site?

How to Know which of the websites is a Default web site?

am 22.11.2007 21:28:01 von MariaPaz

I have 3 web sites.
The Default web site , home directory c:\inetpub\wwwroot, port 80, All
unnassigned IP.
The website1, home directory d:\website \website1, port 80, IP
192.168.168.100 and host header website1.desarrollo.local
The website2, home directory d:\website \website2, port 80, IP
192.168.168.101 and host header website2.desarrollo.local

When I run a setup.exe to install my web site, this setup using the default
web site and install my virtual directory in there. The problem is, How to
Know IIS what is the default web site?

The setup.exe is a output of Visual Studio 2005.
Any idea?

RE: How to Know which of the websites is a Default web site?

am 22.11.2007 21:34:01 von MariaPaz

The website1 and website 2 using the same IP.

"Maria Paz" wrote:

> I have 3 web sites.
> The Default web site , home directory c:\inetpub\wwwroot, port 80, All
> unnassigned IP.
> The website1, home directory d:\website \website1, port 80, IP
> 192.168.168.100 and host header website1.desarrollo.local
> The website2, home directory d:\website \website2, port 80, IP
> 192.168.168.101 and host header website2.desarrollo.local
>
> When I run a setup.exe to install my web site, this setup using the default
> web site and install my virtual directory in there. The problem is, How to
> Know IIS what is the default web site?
>
> The setup.exe is a output of Visual Studio 2005.
> Any idea?
>

Re: How to Know which of the websites is a Default web site?

am 22.11.2007 21:38:57 von Kristofer Gafvert

Hi Maria,

These installers usually look at the website with ID = 1. This is (in my
opinion) wrong by the installer. It should let you choose which website you
want to install on.

I have some more information on this here:

http://www.gafvert.info/iis/article/create_default_website.h tm

I do not recommend you to change the ID unless it is the last option. It can
give you problems if not all references are changed.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Maria Paz" skrev i meddelandet
news:E069148E-6C33-47E7-9744-C202F4130FD7@microsoft.com...
>I have 3 web sites.
> The Default web site , home directory c:\inetpub\wwwroot, port 80, All
> unnassigned IP.
> The website1, home directory d:\website \website1, port 80, IP
> 192.168.168.100 and host header website1.desarrollo.local
> The website2, home directory d:\website \website2, port 80, IP
> 192.168.168.101 and host header website2.desarrollo.local
>
> When I run a setup.exe to install my web site, this setup using the
> default
> web site and install my virtual directory in there. The problem is, How to
> Know IIS what is the default web site?
>
> The setup.exe is a output of Visual Studio 2005.
> Any idea?
>

Re: How to Know which of the websites is a Default web site?

am 22.11.2007 21:49:01 von MariaPaz

Thanks Kristofer.
My problem is my installer don't install in website with ID=1.
In my case, I have this:

Default Web Site Identifier=1
Website 1 Identifier= 142314330
Website 2 Identifier = 74995293.

And my installer install in WebSite 1 not in Default web Site.

"Kristofer Gafvert" wrote:

> Hi Maria,
>
> These installers usually look at the website with ID = 1. This is (in my
> opinion) wrong by the installer. It should let you choose which website you
> want to install on.
>
> I have some more information on this here:
>
> http://www.gafvert.info/iis/article/create_default_website.h tm
>
> I do not recommend you to change the ID unless it is the last option. It can
> give you problems if not all references are changed.
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> "Maria Paz" skrev i meddelandet
> news:E069148E-6C33-47E7-9744-C202F4130FD7@microsoft.com...
> >I have 3 web sites.
> > The Default web site , home directory c:\inetpub\wwwroot, port 80, All
> > unnassigned IP.
> > The website1, home directory d:\website \website1, port 80, IP
> > 192.168.168.100 and host header website1.desarrollo.local
> > The website2, home directory d:\website \website2, port 80, IP
> > 192.168.168.101 and host header website2.desarrollo.local
> >
> > When I run a setup.exe to install my web site, this setup using the
> > default
> > web site and install my virtual directory in there. The problem is, How to
> > Know IIS what is the default web site?
> >
> > The setup.exe is a output of Visual Studio 2005.
> > Any idea?
> >
>
>

Re: How to Know which of the websites is a Default web site?

am 22.11.2007 21:55:12 von Kristofer Gafvert

Okay, then I think you need to contact the people who created the installer
and ask them how they select which website to install to.

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Maria Paz" skrev i meddelandet
news:37F7D29C-B08F-450D-AE05-288DD2653B63@microsoft.com...
> Thanks Kristofer.
> My problem is my installer don't install in website with ID=1.
> In my case, I have this:
>
> Default Web Site Identifier=1
> Website 1 Identifier= 142314330
> Website 2 Identifier = 74995293.
>
> And my installer install in WebSite 1 not in Default web Site.
>
> "Kristofer Gafvert" wrote:
>
>> Hi Maria,
>>
>> These installers usually look at the website with ID = 1. This is (in my
>> opinion) wrong by the installer. It should let you choose which website
>> you
>> want to install on.
>>
>> I have some more information on this here:
>>
>> http://www.gafvert.info/iis/article/create_default_website.h tm
>>
>> I do not recommend you to change the ID unless it is the last option. It
>> can
>> give you problems if not all references are changed.
>> --
>> Regards,
>> Kristofer Gafvert
>> http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>> "Maria Paz" skrev i meddelandet
>> news:E069148E-6C33-47E7-9744-C202F4130FD7@microsoft.com...
>> >I have 3 web sites.
>> > The Default web site , home directory c:\inetpub\wwwroot, port 80, All
>> > unnassigned IP.
>> > The website1, home directory d:\website \website1, port 80, IP
>> > 192.168.168.100 and host header website1.desarrollo.local
>> > The website2, home directory d:\website \website2, port 80, IP
>> > 192.168.168.101 and host header website2.desarrollo.local
>> >
>> > When I run a setup.exe to install my web site, this setup using the
>> > default
>> > web site and install my virtual directory in there. The problem is, How
>> > to
>> > Know IIS what is the default web site?
>> >
>> > The setup.exe is a output of Visual Studio 2005.
>> > Any idea?
>> >
>>
>>