473,586 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Not Running apache and IIS in one Machine.

3 New Member
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:8 080 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 4789
Frinavale
9,735 Recognized Expert Moderator Expert
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 New Member
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 Recognized Expert Moderator Expert
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 New Member
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 Recognized Expert Moderator Expert
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
2885
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 yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ??
6
7695
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 "This isn't working" ?> These line have been added to my httpd.conf file: AddModule mod_php.c AddModule mod_php3.c AddModule mod_perl.c...
3
1798
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 much risk from being attacked? I set up SMC7008ABR to allow only public port 80. The reason I am sking becuase Verizon is no longer give me a fix IP...
1
2864
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 "http://www.modpython.org/live/current/doc-html/inst-testing.html". I've added specific information such as Windows filepaths and filenames so there's no ambiguity on what you...
4
6654
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 file and restart Apache, if you have made an error you simply get a popup saying that there has been an error, but giving no useful information about...
6
13426
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 websites to be able to run in a simulated environment as my remote host. This would maybe run like http://localhost, http://localhost2,...
1
2151
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 server we have a ASP.NET 2.0 application running and some logic is based on the client IP.
4
23803
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 dont wanna take risk let me first have ur suggestions that if its possible to run both ? also will it need any further settings ?
7
2620
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 this and we ran some tests over a year ago and did not find a solution (other than proxy forwarding to a PHP 5 configured server). When PHP went to...
1
6586
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 getting the following error message "Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience." and I had...
0
7839
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...
0
8338
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...
1
7959
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...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
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...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2345
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
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.