Connecting Tech Pros Worldwide Forums | Help | Site Map

How to use ApacheServer & IIS Server both in one machine.

Newbie
 
Join Date: Oct 2008
Location: SriLanka
Posts: 3
#1: Nov 28 '08
I had installed ApacheHTTP Server version 2.2.10.0 on my Windows XP Machine.My Apache2.2

service is successfully installed.When i test httpd.conf file error says "Could not be reliably

determine the server's fully qualified domain name ,using 127.0.0.1 for server name "
When i type http://localhost on my browser it gives IIS server startpage.how can i see Apache test page on my browser.

ak1dnar's Avatar
Moderator
 
Join Date: Jan 2007
Location: Colombo
Posts: 1,440
#2: Dec 2 '08

re: How to use ApacheServer & IIS Server both in one machine.


Both IIS server and Apache HTTPD runs on the same port (80). I think now IIS has already taken port 80. So that first try to change the httpd port number. Find httpd.conf file and change the listen port in to some other available port.
Member
 
Join Date: Nov 2008
Location: Chennai, India
Posts: 100
#3: Dec 8 '08

re: How to use ApacheServer & IIS Server both in one machine.


Quote:

Originally Posted by jayawardhana View Post

I had installed ApacheHTTP Server version 2.2.10.0 on my Windows XP Machine.My Apache2.2

service is successfully installed.When i test httpd.conf file error says "Could not be reliably

determine the server's fully qualified domain name ,using 127.0.0.1 for server name "
When i type http://localhost on my browser it gives IIS server startpage.how can i see Apache test page on my browser.

Hi,

Try this, go to services.msc

First stop the IIS server from that window and start apache server since both ll take same port 8080,

now apache will be started and now again start IIS server in your system. i think this will satisfy your problem.

Just try, :-)

Thanks

Regards
magesh
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#4: Jan 7 '09

re: How to use ApacheServer & IIS Server both in one machine.


That message is not an error. It is just a warning. If it is all that you got then it means that apache started successfully and most likely is using a port different from the one used by IIS. To get the warning to go away, just uncomment the line in httpd.conf that has the servername directive and put the name of your computer after it. You then have to restart apache after that.
Newbie
 
Join Date: Mar 2009
Location: India
Posts: 5
#5: Mar 2 '09

re: How to use ApacheServer & IIS Server both in one machine.


Hi jayawardhana

Check for the
#Listen 12.34.56.78:80
Listen 8027

in httpd.conf and get the port where apache is running,

Then try to open like this

http://localhost:8027

Thanks
Bharath
Reply