LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-16-2013, 07:27 AM   #46
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142

http://www.linuxquestions.org/questi...n-name-870439/
http://stackoverflow.com/questions/9...domain-name-us
http://askubuntu.com/questions/25601...ed-domain-name
http://linuxamination.blogspot.com/2...e-servers.html
http://blog.depicus.com/index.php/20...or-servername/
 
Old 10-15-2013, 03:45 AM   #47
jobsworth
LQ Newbie
 
Registered: Jan 2010
Location: brighton england
Distribution: Debian not Ubuntu
Posts: 22

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:-
ServerName fred.com
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
ronin701
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
<enter>
sudo a2enconf fqdn
<enter>
HTH

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


Reply

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



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

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

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