Solved

Configure apache on mutiple ports

Posted on 2011-02-10
5
390 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

757 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

23 Experts available now in Live!

Get 1:1 Help Now