Print Page | Close Window

Multiple webserver conflicts

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=16439
Printed Date: 29 March 2026 at 4:24pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Multiple webserver conflicts
Posted By: Simonlam
Subject: Multiple webserver conflicts
Date Posted: 05 September 2005 at 12:39am

I know this sounds stupid, but I hope you all can lead me to the correct path.

First, I installed Apache as the web server and using mysql as my database with php as my server-side scripting. Everything work find by typing http://localhost/ - http://localhost/ and access to the file via internet browser. But then I wish to try on this Internet Information Services (by Microsoft) because I might need to use Access(instead of mysql for some reasons) as my database with ASP as my server-side scripting. After setting my virtual directory and I tried to type http://localhost/ - http://localhost/ , it leads me to the Apache site.

I’m confused now. Is there a way to set the default web server? I don’t wish to uninstall the Apache but in the meantime I wish to use the IIS. I’m trying to use webwiz forum (going thru the tutorial as it guides). I guess it’s silly to install 2 different web server on one pc. I’m just….confused. Any guide please?
Thanks in advance!



Replies:
Posted By: Gullanian
Date Posted: 05 September 2005 at 6:14am
You should just stick to the 1 or it will get confusing.

I have little experience with Apache, but with IIS you can easily install ASP, PHP, MySQL, Access.


Posted By: dpyers
Date Posted: 05 September 2005 at 11:42am
As Gullanian noted, you can hit all those through IIS.

You can run multiple web servers but they have to listen for http requests on different ports. Your apache install overrode iis's port 80 listener. Typically, you would set up the second web server to listen on port 8080 - and access it as http://localhost:8080/ but it could listen on any port above 1024. Just make sure you don't try to use a port used by something else - e.g. mysql.

Both apache and iis docs contain instructions on how to change the default http port from 80 to something else. If you're hitting it through a network, you'll probably also need to change your firewall to accept port 8080 traffic.

FWIW - http://localhost/ is actually shorthand. The system actually expands it to localhost:80 internally.


-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net