Forum Moderators: open

Message Too Old, No Replies

Need two root domains locally on IIS

Need two root domains locally on IIS

         

jttgmt

8:59 am on Sep 10, 2004 (gmt 0)

10+ Year Member



I've inherited two IIS sites that I need to work on locally. Only problem is that the existing HTML (which CANNOT be changed yet) refers to all includes absolutely from the root of the site instead of relatively.

Normally I'd just have two virtual directories but this is obviously not an option here as the sites break.

Is there anyway of creating an internal redirect that makes [localhost...] appear to be a domain root, i.e. [localhostdirectory...]

Thanks

TheNige

8:09 pm on Sep 10, 2004 (gmt 0)

10+ Year Member



I assume that you are working on something like XP Pro or W2K Pro....which only has 1 root website allowed in IIS. Simply work on 1 site at a time and point the root home directory to the location (folder) where you have the website stored.

Change the home directory to the other websites folder when you need to work on that one.

If you have W2K server or W2003 then you can set up multiple websites.

Xoc

9:15 pm on Sep 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Rather than continually changing the directory, you can install multiple sites in the Metabase. You still can't run more than one at a time, but switching can be done by just stopping one and starting the other one.

See [dotnetjunkies.com...]

jttgmt

7:47 am on Sep 13, 2004 (gmt 0)

10+ Year Member



Thanks guys.

Josh