Adding Websites

Adding Websites

am 19.10.2007 16:52:30 von Kevin Antel

Does anyone know if the identifier is configurable when setting up websites?
Instead of some large seed value, I wondering if we can set the seed value
that starts smaller and grows? Or if we have any say in the naming of the
identifier.

I'm referring to the identifier that is also used when writing the logfiles
directory.

Re: Adding Websites

am 21.10.2007 10:26:57 von David Wang

On Oct 19, 7:52 am, "Kevin A" wrote:
> Does anyone know if the identifier is configurable when setting up websites?
> Instead of some large seed value, I wondering if we can set the seed value
> that starts smaller and grows? Or if we have any say in the naming of the
> identifier.
>
> I'm referring to the identifier that is also used when writing the logfiles
> directory.


The Website ID can be controlled when calling the CreateWebSite API,
which is only available by script/program. It is also controlled by
the Friendly Name of the website when you create it.

Thus, with the IIS Manager UI, you cannot control that the Site Id is
"40", but you can assure that the same ID is used on all web servers
by using the same Friendly Name.

The other alternative is for the UI to use IIS5's Site ID creation
algorithm.

IncrementalSiteIDCreation

http://technet2.microsoft.com/windowsserver/en/library/e571f b78-ce9a-48f1-9e70-f062b8d791ad1033.mspx?mfr=true


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//