Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-22-2010, 11:23 AM   #1
Registered: Jun 2009
Location: Spain
Distribution: Various, Ubuntu, Fedora, Open Solaris, Solaris, RHEL, CentOS
Posts: 64

Rep: Reputation: 16
Apache2 remote access configuration query

Hi All

I have some perl Web Interfaces for some project tools running on a Linux (Ubuntu) machine, they're in the /var/www directory and I want to view them from other computers on our network.

I have backed up then edited the /etc/apache2/sites-available/default file from:

</Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


</Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
deny from all
allow from

And I've restarted the apache2 server with the following result (which doesn't seem to have impeded use of the web interfaces on the localhostin the past):

* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using for ServName

I was hoping this would work and I'd be able to see the webpages from other computers on our network but no such luck!

I would be cery grateful if you could provide me with a "For Dummies" explanation of what to do - I really know nothing at all about web servers!

I hope I've provided enough info.

Have a great weekend all, see you Monday! :-)

Old 01-22-2010, 12:39 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
Well what you would likely want to do is set it up to allow connections from your network by ip not by name.

What do you get when you enter these commands:

cat /etc/hosts
Old 01-25-2010, 03:19 AM   #3
Registered: Jun 2009
Location: Spain
Distribution: Various, Ubuntu, Fedora, Open Solaris, Solaris, RHEL, CentOS
Posts: 64

Original Poster
Rep: Reputation: 16
Hi Rweaver

How much of the IP addess do I have to specify? I would guess the first xxx.xx of the addresses machines I wish to connect from.

Please excuse my for not giving the whole of the content of the two files, I think it would be considered a security risk for me to do so.

hosts contains only the local host and the above mentioned local IP that the web server is using. Then some standard lines for IPv6.

ifconfig contains two groups on info. My eth0 details and the lo local loopback for

If you could be specific about what information you require from these files I may be able to help more, but I cannot give out any IP info for the machines or network. Sorry to be disobliging!



access, apache2, configuration, webserver

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
Gparted query regarding boot configuration katesfb Linux - Newbie 2 10-03-2009 11:32 PM
remote access with mysql query browser problem Azalar Linux - Server 1 10-27-2007 02:55 PM
Query MS SQL from remote php Linux - General 2 10-17-2005 09:44 AM
open/query remote udp sockets in shell macie Programming 2 03-20-2005 03:45 PM
2 HDDs: configuration query tireseas Linux - Hardware 3 08-25-2003 05:52 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:42 AM.

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