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


  Search this Thread
Old 07-16-2013, 07:27 AM   #46
Registered: Mar 2013
Posts: 633

Rep: Reputation: 141Reputation: 141
Old 10-15-2013, 03:45 AM   #47
LQ Newbie
Registered: Jan 2010
Location: brighton england
Distribution: Debian not Ubuntu
Posts: 21

Rep: Reputation: 0
yes i get this all the time using various operating systems.
there does not seem to be an answer.
it is just trial and error until the thing works.
add to apache2.conf or httpd.conf or wherever
lines like:-
Listen 80
Servername localhost
ServerName localhost:80
then restart apache2 or the machine.
you may find that apache2 starts working
but still works when you remove the lines you have added
fiddle fiddle fiddle

while this is an old thread it has many visitors so obviously the question remains.
Old 02-13-2015, 10:34 PM   #48
LQ Newbie
Registered: Aug 2002
Location: Austin, TX
Distribution: Mint, Debian, Redhat, Libranet, Smoothwall, SME Server.
Posts: 15

Rep: Reputation: 0
This works for all Debian derived distros

In the terminal:
echo "ServerName localhost" | sudo gedit /etc/apache2/conf-available/fqdn.conf
sudo a2enconf fqdn

Last edited by ronin701; 02-13-2015 at 10:36 PM.


apache, could, domain, error, fully, httpd, name, servers

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
squid FATAL: Could not determine fully qualified hostname. Please set 'visible_hostn tarakthakor Linux - Networking 5 12-04-2010 05:29 AM
Fully Qualified Domain Name tumana Linux - Networking 4 06-10-2004 02:58 AM
Apache: httpd: Could not determine the server's fully qualified domain name.. shirtboy Linux - Software 1 11-20-2003 03:47 AM
Fully Qualified Domain Names? MasterC Linux - Networking 7 05-19-2003 01:38 PM
http: can't could not determine the servers fully qualified domain name, using 127xyz s7nner Linux - Newbie 4 05-05-2003 06:18 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:15 PM.

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