Solved

Configure apache on mutiple ports

Posted on 2011-02-10
5
405 Views
Last Modified: 2012-05-11
Hi,
I have apache sever configured on port 80 i want to configure it on one more port (8080),
i played with http.conf file added listen 8080 but can't restart the server can you please guide
how to do it and also how to test it i am attaching conf file for review.

Thanks

httpd.txt
0
Comment
Question by:sam2929
  • 3
5 Comments
 
LVL 9

Accepted Solution

by:
sshah254 earned 500 total points
ID: 34867739
I don't see a "Listen 8080" after the "Listen 80" line.

Just add that line and restart the server.

(usually /etc/init.d/apache2 restart - but might be different in your setup).

Ss
0
 

Author Comment

by:sam2929
ID: 34867873
yes i did that it don't restart
0
 
LVL 12

Expert Comment

by:asidu
ID: 34867989
You have to resolve the issue of restart.

You must be logged in as  super user account to activate the restart.

Check out the log files and analyze the error reported.

Read more on starting of service at
http://httpd.apache.org/docs/2.0/stopping.html
0
 

Author Comment

by:sam2929
ID: 34868179
this is my local machine and i am login as admin it should be quite straight forward i am attaching http conf , Is there any IP address or anything else need to be changed too?


httpd.txt
0
 

Author Comment

by:sam2929
ID: 34868209
i did restart my pc and it works so thanks for help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now