472,958 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 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 4758
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

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

Similar topics

0
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In...
6
by: gwerk | last post by:
Hi, I've installed php4.0.4 on a linux machine running apache 1.3.19 but the php is not working properly. When I try to open a php doc all i get is the actual code - not the output eg. <? echo...
3
by: New to PHP | last post by:
I have 3 computers with Ethernet connection to a local router box(SMC7008ABR) and on the wan side to Verizion DSL. I was able to install Apache and PHP on one of the PC with XP Home edition. How...
1
by: Rolfe | last post by:
Hi, I struggled, and got mod_python running on Apache/Win2k. Follow these instructions verbatim and you shouldn't have any trouble. These instructions are based on...
4
by: Jon Maz | last post by:
Hi All, I'm getting to grips with PHP and Apache (on Windows for current development, production site will be on Linux), and have a simple (I hope!) request. When you change the httpd.conf...
6
by: bizt | last post by:
Hi, My knowledge of apache is nothing impressive,. I purely use it to run local websites. I was wondering however, if it is possible to create more local domains like localhost. I like my local...
1
by: Peter Lundbäck | last post by:
Hi, Maybe this ain't the correct group for this question but i'll give it a try. We have a Apache machine acting as a front-end server to a IIS 6.0 server for security reasons. On the IIS...
4
usafshah
by: usafshah | last post by:
I'm running IIS on windows 2003 server, Now for some reason I want to install Apache on the same machine, I just wanna ask whether it'll produce any problem if i install both on same machine, Kaz i...
7
by: John Murtari | last post by:
Folks, We would like to upgrade our servers to PHP 5 and PHP 4 together as modules on the same server (not as cgi, not passing requests to another server). I did some extensive searching on...
1
by: imtiyazali4all | last post by:
Hi, I have installed Apache 2.2.15 and it was tested successful and working fine. As a next step I installed php-5.3.2-Win32-VC6-x86 on Windows XP SP3.Now when I restart the Apache server I am...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.