LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-16-2011, 04:15 PM   #1
klingoncowboy4
Member
 
Registered: May 2007
Location: Seba Beach, Ab
Distribution: Fedora 14
Posts: 34

Rep: Reputation: 0
changed apache port, now pages won't display


Hi,

I just tried changed the port that apache runs on from 80 to 8080 (I need port 80 for a difference service so I am changing the apache port). After doing this I load 127.0.0.1:8080 in a browser and get a 404 error generated by apache, if I change it back to 80 it works fine. Is there something I am missing here?
 
Old 05-16-2011, 04:27 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi there,

It appears that you have only changed the settings in /etc/apache2/ports.conf

Make the changes in the default file located under: /etc/apache2/sites-available/ as follows:

<VirtualHost *:8080> instead of using <VirtualHost *:80>
 
Old 05-16-2011, 04:56 PM   #3
klingoncowboy4
Member
 
Registered: May 2007
Location: Seba Beach, Ab
Distribution: Fedora 14
Posts: 34

Original Poster
Rep: Reputation: 0
thanks that fixed it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
man pages won't display on Mandrake 10 zahadumy Mandriva 1 11-19-2005 02:10 AM
Apache 2: won't allow document root to be changed, plus more QtCoder Linux - Networking 1 11-06-2004 04:44 PM
man pages won't display hyphens TruckStuff Linux - General 10 02-20-2004 11:04 AM
Galeon won't display PHP pages... VIP3R Linux - Software 1 12-29-2003 10:48 AM
Apache SSL started, pages won't display Manuel-H Linux - General 1 04-16-2003 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration