471,086 Members | 1,101 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

Not Running apache and IIS in one Machine.

3
I'm running Apache port 80 on windows 2003 server, Now for some reason I want to iis6 port 8080 on the same machine,

if i enter website like www.dubai.com its opening (from apache fine )

if i load my html in iis use port 8080

www.qatar.com:8080 then only opening

just try www.qatar.com getting apache error Not Found

The requested URL / was not found on this server.

Apache/2.2.22 (Win64) PHP/5.3.10 Server at www.qatar.com Port 80

( apache i am using php design iis i am using asp.net )
Oct 25 '13 #1
5 4623
Frinavale
9,735 Expert Mod 8TB
Windows Server 2003 uses IIS 6.

Here are the instructions for setting the port that website listens on:
  1. Open Internet Service Manager or Internet Information Services (IIS) Manager.
  2. If necessary, expand the Web server that you want, and then expand Web Sites.
  3. Right-click the Web site that you want to change.
  4. Click Properties.
  5. Click the Web Site tab.
  6. Change the TCP Port Number in the TCP Port edit box (or click Advanced for multiple Port settings).
  7. Click OK to save the changes.

The instructions I posted were from this MSDN article on How to change the TCP port for IIS services. This article contains information on how to do this for other IIS versions as well.

-Frinny
Oct 25 '13 #2
ugesh
3
Sir yes but i am already using different port apache and iis is 8080 apache 80

if i change iis 80 then iis become disabled
when i try a domain whih i loaded in iis like www.dubai.com its going for first priority to apache that is the issue
Oct 25 '13 #3
Frinavale
9,735 Expert Mod 8TB
You cannot have 2 services listening on the same port.

Whether that be two different web servers like IIS and Apache, or even a web server and a DVR application.

One service will handle the event and the other will not.

In my experience, if you really do not want to have to provide a port value, you should run the web servers on different machines.

You could consider trying port forwarding.

Configure IIS to listen for all of the requests and if one is supposed to be handled by Apache, try forwarding on to Apache (which is listening on a different port).


Or you could do this a a router level....if a request comes in on port 80 that should be on another port, configure your router to forward it to the appropriate port.

-Frinny
Oct 25 '13 #4
ugesh
3
current status i can open web site from iis

i need to enter port also with web address like " www.dubai.com:8080 "

there have no other simple solution in window to do open its direct www.dubai.com
Oct 25 '13 #5
Frinavale
9,735 Expert Mod 8TB
Try researching port redirection :)

I'm not very good with networking stuff but I have redirect websites from http://myDomain.com to https://myDomain.com in the past using IIS.

Not sure how hard it would be to configure Apache to send a redirect to the browser and automatically redirect the user to port 8080....
Oct 25 '13 #6

Post your reply

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

Similar topics

6 posts views Thread by gwerk | last post: by
3 posts views Thread by New to PHP | last post: by
1 post views Thread by Rolfe | last post: by
4 posts views Thread by Jon Maz | last post: by
1 post views Thread by Peter Lundbäck | last post: by
7 posts views Thread by John Murtari | last post: by

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.