Configure apache on mutiple ports

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
sam2929Asked:
Who is Participating?
 
sshah254Connect With a Mentor Commented:
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
 
sam2929Author Commented:
yes i did that it don't restart
0
 
asiduCommented:
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
 
sam2929Author Commented:
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
 
sam2929Author Commented:
i did restart my pc and it works so thanks for help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.