• I successfully got wordpress installed on IIS/MySQl/php on win2k3 server. But am struggling with a 2nd instance on the same machine.

    I assumed setting up a 2nd instance would be a breeze. I created a 2nd virtual host for my new domain name (lets call it https://www.mysite2.com) and pointed it at a second set of word press files in a different directory. I edited wp-config.php to point to a different database with different username/password.

    However… for some reason, when i hit https://www.mysite2.com i get the same pages loaded from https://www.mysite1.com.

    I assumed that somehow the vhost for mysite2 was pointing at the web directories for mysite1. Not so, I can place a foobar.htm file in the root of mysite2 and hit it ok and get a 404 (expected) from mysite1. From IISAdmin the home directories appear to be set correctly.

    I am utterly confused. It’s as if somehow the php ISAPI is pointing at a hardcoded path.

    Any pointers to documentation on installing a 2nd instance on IIS?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter brettm

    (@brettm)

    figured it out – my bad.

    at some point a LONG time ago, when i setup the first instance, i had a hard coded

    doc_root =

    line in my php.ini.

    i removed this and now it loads the right webroot for each instance.

    Thanks for the followup – glad you got it sorted out! I was sure drawing blanks…

    Can you mark this thread as resolved then?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installing multiple instances on IIS’ is closed to new replies.