Solved

Configure apache on mutiple ports

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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 …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

770 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