We help IT Professionals succeed at work.

How to setup a copy of the same web application on IIS 7.5?

jazzIIIlove
jazzIIIlove asked
on
Hi,

In my W2008, in iis 7.5, i have a web application on "Default Website" which i need to clone and on the "same"  port.

Would it be perfectly separate if i clone the web application on the same port and different application pool? (And with a different name?)

Br.
Comment
Watch Question

Software Developer
Top Expert 2015
Commented:
refer this conversation that match with your question:

http://stackoverflow.com/questions/5318576/how-can-i-copy-clone-a-site-on-iis7
Hi;

Thanks for the interest. It is a good knowledge, yet, which blocks should i replicate?

E.g. is it only this block as the post says?

<site name="Test1" id="5" serverAutoStart="true">
            <application path="/" applicationPool="Test">
                <virtualDirectory path="/" physicalPath="C:\OnTheMove\tags\Release 2.1.7.7\Offline\OfflineRouteHandler" userName="administrator" password="[enc:AesProvider:K0YvJ9r+XXNP8VUrZlbCPQ==:enc]" />
            </application>
            <application path="/Offline_Tablet" applicationPool="Test">
                <virtualDirectory path="/" physicalPath="C:\OTMTrunk\Offline\OnTheMoveOffline" userName="administrator" password="[enc:AesProvider:tT9uIWQDtIZTRnSMmx8XmIQv0lr7AbUXcuGby5qRZSo=:enc]" />
            </application>
            <application path="/OnTheMoveWebFiles" applicationPool="Test">
                <virtualDirectory path="/" physicalPath="C:\OTMTrunk\Offline\OnTheMoveOffline\OnTheMoveWebFiles" userName="administrator" password="[enc:AesProvider:zZgL59H6ka6jehb9BPTaNR8ogdgc8S90c3vf8p6MjPc=:enc]" />
            </application>
            <application path="/eai_enu" applicationPool="Test">
                <virtualDirectory path="/" physicalPath="C:\OTMTrunk\Offline\OfflineRouteHandler" userName="administrator" password="[enc:AesProvider:MfaNJz14gaJK5EjgIqhj4w==:enc]" />
            </application>
            <bindings>
                <binding protocol="http" bindingInformation="*:80:" />
            </bindings>
        </site>

Open in new window


or any other block as the file has several xmlnodes?

And the other question is that I guess i need to restart the server after changing this configuration file. Correct?

Br.
Naitik GamitSoftware Developer
Top Expert 2015

Commented:
YES..