LinuxQuestions.org
Visit Jeremy's Blog.
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 02-29-2008, 07:41 AM   #1
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 162

Rep: Reputation: 5
Need help: Apache2 Configuration


I have installed Ubuntu 7.10 server on a desktop pc and have installed the ubuntu-desktop gui. I have also installed Apache2 http server and need to change it to ('listen' so to speak) on the ip address of the machine its installed upon rather than localhost so that I can serve my pages accross the network which this machine is a part of. How do I change the ip so that i can type in http://192.168.x.x resulting in my pages being served accross all of the network. I've done this before in a windows environment but the linux apache2 installation is very different I find in comparison to the way that apache does its stuff in windows. Can anyone help?



Tom
 
Old 02-29-2008, 08:24 AM   #2
timnp
Member
 
Registered: Feb 2008
Location: London
Distribution: FC8, FC9, Centos 4, Centos 5, Knoppix
Posts: 52

Rep: Reputation: 16
I think your default apache config should be ok, my understanding of ubuntu is that it blocks incoming access to all ports by default, are you sure that the problem isn't with your firewall?
 
Old 02-29-2008, 08:32 AM   #3
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 162

Original Poster
Rep: Reputation: 5
Blimey, ok I just typed in 192.168.x.x into my browser on my machine and on a seperate machine and as you say it works straight off without editing apache config, Excellent! thankyou for your post, im starting to love linux I was getting confused cos I think in windows you would have to go to httpd.config and tell the server to use 192.168.x.x opposed to local host.......

problem solved cheers mate.......
 
  


Reply

Tags
apache2, config


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Best apache2 configuration to provide independent services cbonar Linux - Server 12 09-30-2007 05:01 AM
debian with apache2 configuration for many VirtualHosts scottley Linux - Server 0 09-19-2007 01:05 AM
LXer: My Application of the Day: Kochizz for Apache2 Configuration LXer Syndicated Linux News 0 08-30-2007 12:10 AM
Correct configuration for Apache2 and logrotate ricur Linux - Software 4 11-18-2004 12:22 PM
apache2 configuration e1000 Linux - Networking 1 01-27-2004 11:23 PM


All times are GMT -5. The time now is 06:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration