473,902 Members | 4,336 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Run IIS and Apache at the same time on same machine

250 Contributor
I developed web application using php and I'm using apache. There is a asp.net application to read data and store them into the data base. I want to run both application in the same time.Can apache and iis on the same machine at same time?. If so how can i do that. Could anyone help me?
Aug 4 '08 #1
4 4499
r035198x
13,262 MVP
Yes can run on the same machine. Just make sure they are listening on different ports.
Aug 6 '08 #2
vssvijay
1 New Member
how do i make port? i don't know plz tell me
Aug 11 '08 #3
docdiesel
297 Recognized Expert Contributor
Hi,

the easiest (and more secure) way is to change the port of the iis. Right-click on the virtual host(s) in the management console. As far as I remember you can change the port on the "website" tab to, let's say, 6080.

Btw., you may even use the Apache as filter for the iis, e.g. by configuring the proxy module, so that your iis application is hidden. The following takes requests for http://www.yourserver. tld/someapp/* and forwards them to the iis aboard:

Expand|Select|Wrap|Line Numbers
  1. ProxyPass        /someapp/  http://localhost:6080/someapp/
  2. ProxyPassReverse /someapp/  http://localhost:6080/someapp/
This adds some more security to your iis, for that the standard threats (code red etc.) stay out because the Apache blocks them. (Especially if there's a firewall in front which makes port 6080 invisible to the outside world.)

Regards,

Bernd
Aug 11 '08 #4
r035198x
13,262 MVP
... and to change Apache's listening port just look for the Listen directive in httpd.conf and change the port there to the one you want.
Aug 12 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1849
by: admin | last post by:
I have apache 2.0 install and mysql 4.0 installed. What I want is to be able to use phpmyadmin to adminstrate the database. However the problem I am running into is that the version of php that apache seems to be using doesn't seem to be using the same version thats installed. I have done a locate php to try and find if there is any other versions installed but haven't found anything. When I do the command php -v it comes up with the...
1
1190
by: brianj | last post by:
XP pro machine apache 2.0.48 php 4.3.6 I would like to execute javascript on my apache http server example: <SCRIPT language="javascript"> function doit(){
19
5268
by: Alex Madon | last post by:
Hello, I am testing a web application (using the DBX PHP function to call a Postgresql backend). I have 375Mb RAM on my test home box. I ran ab (apache benchmark) to test the behaviour of the application under heavy load. When increasing the number of requests, all my memory is filled, and the Linux server begins to cache and remains frozen. ab -n 100 -c 10 http://localsite/testscript
6
3618
by: Lee Harr | last post by:
I have a database where I remove the schema public. When I try to use the createlang script, it fails like this ... >createdb foo CREATE DATABASE >psql foo -c "select version()" version --------------------------------------------------------------------- PostgreSQL 7.4.1 on i386-portbld-freebsd4.9, compiled by GCC 2.95.4 (1 row)
0
1694
by: Dave Klingler | last post by:
I've been trying to bring up an IMP webmail server for...oh, several days now. I've never had so much trouble bringing up any machine, and I've beaten my forehead flat against it. Either I've been at it too long, or I've been at it too long and there's a bug here somewhere. Basically, I had a working machine up until yesterday, with gd.so, imap.so, ldap.so, mbstring.so, mcrypt.so, and pgsql.so all up and running nicely. At that point...
8
6318
by: lawrence k | last post by:
I've installed Apache 1.3.36 on my Redhat EL 3 machine. Now I'm trying to install PHP 5.1.4. I can not get the ./configure command to work. I keep getting this error: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/local/apache/include So then I run this command: find / -name httpd.h
18
2413
by: rfhurley | last post by:
How do I run a .php program? (I'm starting with the "hello world" script)
5
2393
by: senadslipac | last post by:
How to Q: Uncompressing ~400K files on Apache Server Hello All, I have ~400K html files on my local XP machine and I’d like to compress the files, upload them onto my host (apache - pair.com) and uncompress them there. I’ve done this with less files (~10K) before – using ssh, putty and unzip command. I seem not to be able to use the same method as ZIP
6
7610
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not work. Please review my work and let me know if you see that one little thing that is throwing me for a loop. HTTPD.CONF # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the...
0
9845
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11279
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10870
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10981
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9673
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7205
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4725
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4306
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.