 |
|
 |
|
Next: Framework 1.1 and 2.0
|
| Author |
Message |
External

Since: Jun 18, 2004 Posts: 15
|
(Msg. 1) Posted: Wed Oct 18, 2006 8:08 am
Post subject: batch-adding multiple websites Archived from groups: microsoft>public>inetserver>iis (more info?)
|
|
|
Hi, I would like to add a batch of 80+ website identities in IIS6. I normally
add a website manually in the IIS Manager, but for such a large volume of
domains I really need an easier way.
Is there a script I can run or an import procedure in IIS somewhere? I have
searched online and in the documentation but to no avail.
Any help appreciated, thank you in advance,
-Daniel >> Stay informed about: batch-adding multiple websites |
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 2972
|
(Msg. 2) Posted: Wed Oct 18, 2006 10:43 am
Post subject: Re: batch-adding multiple websites [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jun 18, 2004 Posts: 15
|
(Msg. 3) Posted: Thu Oct 19, 2006 4:00 am
Post subject: Re: batch-adding multiple websites [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Thanks Kristofer, that was a help. I have tried the iisweb.vbs and
successfully added a website. Am I right in thinking though that you can only
pass one domain using "/d". I would expect to be able to add several domains
at the same time, eg :
cscript iisweb.vbs /create c:\example "example" /b 80 /i 127.0.0.1 /d
example.com www.example.com examples.com www.examples.com
Is there a way to do this?! Or even create the site and then add the other
domains to it?
I have seen your "Append a host header" code but I do not have the
capability to run it.
Thanks again! >> Stay informed about: batch-adding multiple websites |
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 2972
|
(Msg. 4) Posted: Thu Oct 19, 2006 6:14 am
Post subject: Re: batch-adding multiple websites [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
What exactly do you want to do? You said you wanted to add multiple
websites, but now you seem to be talking about adding host header values
to one website.
Do you want one website with multiple host headers, or do you want
multiple websites?
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Daniel wrote:
>
>Thanks Kristofer, that was a help. I have tried the iisweb.vbs and
>successfully added a website. Am I right in thinking though that you can
>only
>pass one domain using "/d". I would expect to be able to add several
>domains
>at the same time, eg :
>
>cscript iisweb.vbs /create c:\example "example" /b 80 /i 127.0.0.1 /d
>example.com www.example.com examples.com www.examples.com
>
>Is there a way to do this?! Or even create the site and then add the other
>domains to it?
>
>I have seen your "Append a host header" code but I do not have the
>capability to run it.
>
>Thanks again! >> Stay informed about: batch-adding multiple websites |
|
| Back to top |
|
 |  |
External

Since: Jun 18, 2004 Posts: 15
|
(Msg. 5) Posted: Thu Oct 19, 2006 6:28 am
Post subject: Re: batch-adding multiple websites [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hi again, sorry for the confusion. I do wish to add several websites, but
for each site there will also be multiple host headers. So I need to add
"www" versions as well as those without "www", as well as a few alternative
host names PER site (eg examples.com, example.com etc as well as some
hyphenated versions)
I hope this makes sense and there's something I can do!
thank you again >> Stay informed about: batch-adding multiple websites |
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 2972
|
(Msg. 6) Posted: Thu Oct 19, 2006 7:33 am
Post subject: Re: batch-adding multiple websites [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
The easiest way to do this is probably to add the websites using
iisweb.vbs and after this modify the ServerBindings property to include
all the domain names using adsutil.vbs.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Daniel wrote:
>
>Hi again, sorry for the confusion. I do wish to add several websites, but
>for each site there will also be multiple host headers. So I need to add
>"www" versions as well as those without "www", as well as a few alternative
>host names PER site (eg examples.com, example.com etc as well as some
>hyphenated versions)
>
>I hope this makes sense and there's something I can do!
>
>thank you again >> Stay informed about: batch-adding multiple websites |
|
| Back to top |
|
 |  |
External

Since: Jun 18, 2004 Posts: 15
|
(Msg. 7) Posted: Fri Oct 20, 2006 9:11 am
Post subject: Re: batch-adding multiple websites [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 22, 2006 Posts: 560
|
(Msg. 8) Posted: Sat Oct 21, 2006 3:12 am
Post subject: Re: batch-adding multiple websites [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
You can use the IIS Migration Wizard from Microsoft to move the IIS
configuration onto IIS6 from another IIS server. And then handle the
rest of the site content/configuration yourself.
How exactly are you searching for the answer? I just put in:
IIS Migration site:microsoft.com
And the right answer came back as the first hit...
//David
http://w3-4u.blogspot.com
//
Daniel wrote:
> Hi, I would like to add a batch of 80+ website identities in IIS6. I normally
> add a website manually in the IIS Manager, but for such a large volume of
> domains I really need an easier way.
>
> Is there a script I can run or an import procedure in IIS somewhere? I have
> searched online and in the documentation but to no avail.
>
> Any help appreciated, thank you in advance,
> -Daniel >> Stay informed about: batch-adding multiple websites |
|
| Back to top |
|
 |  |
| Related Topics: | Adding a MIME type to IIS6 from the batch file - Hi! I need to add my file type to known extensions of IIS6. How can I do it from a batch file? Thanks, Moshe.
Help with Adding Multiple IP's - HI, I have an IIS server that I host multiple websites. I need to put some sites on their own IP. I add these IP, to the single network adapter under the TCP/IP settings. Once I do this, all my sites no longer work. I'm not sure what I am doing wrong...
Adding multiple host headers through ADSI not working prop.. - I was wondering if someone could help. I have a scenario where I am trying to set up multiple host headers on a web site using ADSI. Ex: I have a site called www.testsite.com to which I want to assign three host headers like (testsite.com,..
Multiple Websites - Hi, I'm using headers for my websites, how can I access them locally for testing purposes? TIA Regards, TagaR
Multiple websites on XP? - I remember there was a way (by script, not GUI), to create multiple websites on a machine running Windows XP, but you could only have one website running at each time. Anyone remember how you did that? -- Regards, Kristofer Gafvert.. |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|