www.webdeveloper.com
Results 1 to 2 of 2

Thread: Single server; multiple web servers

  1. #1
    Join Date
    Dec 2002
    Location
    St. Louis, MO, USA
    Posts
    1,582

    Single server; multiple web servers

    Hello, everyone.

    My question is similar to DNA222's question, except opposite.

    I have an old PC desktop (XP/SP3) that I am using as a dev server. I have installed SQL Server 2008 R2 on it, as well as XAMPP (Apache + PHP). I'm getting the PHP to work on it, but I'd like to set it up so that I can use the same dev server for working on either PHP or ASP.Net projects without having to enable/disable IIS and Apache, back and forth.

    I've got Apache listening on port 80, and IIS (5.1) listening on port 54321. Now, IIS installs to C:\Inetpub\wwwroot, and I've never seen an option to install it anywhere else. I've got the Default Web Server pointing to that location, and I've created a Virtual Directory that points to the same folder as Apache (D:\xampp\htdocs), but the aspx test page that I wrote will not work, I just get a "resource not found" error message.

    Can anyone help me to get IIS to work in a directory other than C:\Inetpub\wwwroot?

    Thanks,

  2. #2
    Join Date
    May 2011
    Posts
    8
    I had to do this, myself.

    I found several .bat scripts that will do all the reconfiguring necessary to move to the drive letter of your choice. Google for "move Inetpub".

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles