IIS Web Site "Template"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Sorry if this isn't quite the right place to put this:

I think that there's a way to create a sort of template "default" for any
new web sites created within IIS, so that the new sites will copy all of the
configurations from that template when it's created. Can anyone point me to
how that's done?

Thanks.

Alex
 
Yes, in IIS you can export the definition of a website and use that file to
create new website. I, unfortunately, do not have the code for inserting
this into the metabase for the new site, but a Google search should yield
some results.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think Outside the Box!
*************************************************
 
Hello Alex,

I agree with Gregory on this. If what you want to duplicate for new IIS web
sites/virtual directories are only the configuration settings in
IIS(metabase), you can simply use the IIS manager to export the metabase
setting(xml formate) of a website or a virtual directory, and then import
it when creating a new virtual directory:

#Metabase Import and Export (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6
37e4ec0-d9ef-4115-935b-47087870e01a.mspx?mfr=true

for virtual directory, it must be a non-physical inherited virtual
directory(reference to an external path itself) so that we can export the
configuration setting of its own.

Also, I would suggest you try posting in the following IIS newsgroup on
detailed metabase backup/restoring questions since there're many IIS guys
who maybe more helpful on this.

microsoft.public.inetserver.iis

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top