Admin Reports

05 Feb, 2008

Loading Saved Site Configuration into IIS

Posted by: BSchwarz In: Quick Tips

If you read Saving Site Configuration to File you’ll also want to know how to load that file back into your Windows Server running IIS. You can use the file to duplicate the site configuration on a development Windows server.

Use it when you move to another Windows server. You can even use it to load a new website so you don’t have to configure PHP or any other extensions or loadable modules. Keep in mind if you do want to load a new website to duplicate the configuration you’ll have to change the host headers and IP address assigned to the new site in Windows Server IIS manager.

Let’s get started.

First thing to do is start IIS manager. Start > Administrative Tools > Internet Information Services(IIS) Manager.

Start IIS Manager

Once you have it open right click Websites and select New > New website from file. A browse to box will popup and you can browse to the location you saved the site configuration to.

New Website from File Import Configuration Box

Once you browse to the file click Read. In the bottom box some text will scroll and it will say successful if it imported correctly. If it didn’t it will tell you the errors. You can manually edit the xml file to correct the errors if you wish.

If you used this to create a new website with the same configuration as an existing site then right click the new website and change host headers and IP address.

Thats’ it. If you have any questions post a comment to this article. If you need one on one help visit Admin Reports Forum.

Related posts

4 Responses to "Loading Saved Site Configuration into IIS"

1 | BSchwarz

February 5th, 2008 at 12:47 PM

Avatar

If you have any questions ask them here.

2 | litu

September 1st, 2008 at 8:39 AM

Avatar

I have a question about the “Save configuration to a file” option.
Does it will save the application pool configuration? The application pools will be recreated on the new server?
I must move an IIS with a lot of websites inside from a server to a new one.

3 | BSchwarz

September 1st, 2008 at 11:05 AM

Avatar

Yes. When you load the file into the new server all configuration data will be imported including app pools, host headers and any special configuation you had.

4 | litu

September 2nd, 2008 at 12:56 AM

Avatar

Thanks a lot. Very helpfull.

Comment Form

About

Admin Reports is a resource for forum and server admins geared towards admins that run communities on Windows Servers and IIS.

You will find tutorials, tips and tricks to tweak your Windows server, howto and reviews of forum software packages.

Advertisement

 

July 2009
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031