LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-21-2005, 03:17 AM   #1
bob_man_uk
Member
 
Registered: Jul 2003
Location: uk
Posts: 80

Rep: Reputation: 16
configuring apache2


hi all,

last night i upgraded my installation with apt-get and along with it I wanted it to install apache2, no i cant remember how I configured the first one but everytime I start the service it comes up saying

Code:
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd (pid 4226) already running
now i know what is causing the error but cant remember where the file is to change,

any help is appreciated,

mattyG
 
Old 01-21-2005, 09:18 AM   #2
wimdh
LQ Newbie
 
Registered: Aug 2004
Location: Dendermonde, Belgium
Distribution: Ubuntu latest
Posts: 28

Rep: Reputation: 15
Hey,

Is your /etc/hosts correct?
 
Old 01-24-2005, 04:16 AM   #3
bob_man_uk
Member
 
Registered: Jul 2003
Location: uk
Posts: 80

Original Poster
Rep: Reputation: 16
yeah it is,

Code:
127.0.0.1       debian  localhost
i remember there was a file that allowed you to change the domain name and allowed apache to function but i cant find it anywhere, if anyone knows please tell me,

thanks

mattyG
 
Old 01-24-2005, 04:43 AM   #4
wimdh
LQ Newbie
 
Registered: Aug 2004
Location: Dendermonde, Belgium
Distribution: Ubuntu latest
Posts: 28

Rep: Reputation: 15
Do you mean servername in httpd.conf?
Code:
#
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
#ServerName www.example.com
Or did you configure virtual hosts?
 
Old 01-27-2005, 10:17 AM   #5
DeathlessOne
LQ Newbie
 
Registered: Aug 2004
Location: Wyoming
Distribution: Slackware, Mandrake 10, Debian
Posts: 12

Rep: Reputation: 0
Did you configure your permissions correctly to allow/deny hosts trying to connect?
 
  


Reply


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
doubt on configuring apache2 bruno buys Linux - Networking 5 03-14-2005 02:03 PM
Configuring Tomcat 5.0.27 to connect with Apache2 using JDK1.2.6 yea420 Linux - Software 8 08-30-2004 03:49 AM
configuring apache2 to work with user directories jogurt666 Linux - Software 2 06-17-2004 03:57 AM
Apache2 and php4 problems configuring linoob Linux - General 2 07-01-2003 05:21 AM
Configuring the Apache2 config file to use PHP4 mindstormsguy Linux - Software 3 05-29-2003 12:59 PM


All times are GMT -5. The time now is 09:32 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