Solved

Configure apache on mutiple ports

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 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