Crazy 8s Code Golf A Page of Puzzling How do organic chemistry mechanisms become accepted? If you insert a ServerName localhost in either httpd.conf or apache2.conf in /etc/apache2 and restart apache the notice will disappear. I tried one another thing :- $ sudo apache2ctl -S AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Is it bad form to write mysterious proofs without explaining what one intends to do? http://sinistro.org/could-not/could-not-get-fqdn-using.html
Join them; it only takes a minute: Sign up How do i set up the server's fully qualified domain name? Word for fake religious people What to do when using your private key from another computer? An FQDN must include a hostname part, as well as a domain name part. Browse other questions tagged debian configuration apache-httpd or ask your own question.
My hostname: $ hostname debian This is the configuration file of the site: $ cat /etc/apache2/sites-available/minidebconfindia.conf
Who is this six-armed blonde female character? up vote 1 down vote First, Check your apache version $ apache2 -v If your apache version is 2.x, using following command to avoid this message $ echo "ServerName\t`cat /etc/hostname`" | Spllitting a line into two How to find punctures in inner tubes? Set The 'servername' Directive Globally To Suppress This Message Mac So here's a quick layout of how I resolved the issue.
compare the answer below with yours –abbood Apr 23 '14 at 6:14 @abbood: Agreed. Starting Httpd: Httpd: Apr_sockaddr_info_get() Failed For There they recommend creating a file /etc/apache2/conf.d/fqdn with ServerName localhost in it –icc97 Jun 29 '13 at 9:36 Very good answer - but I would also recommend putting it example.com). apache configuration fqdn share|improve this question asked Feb 25 '12 at 16:28 reader 59115 3 This isn't programming related.
share|improve this answer answered May 20 '12 at 7:50 bgmarx 324311 worked for me thanks –Alfonso Fernandez-Ocampo Jun 30 '14 at 10:33 Thanks that worked for me Check This Out I've got: 127.0.0.1 localhost gondor gondor.localdomain 192.168.0.3 gondor.localdomain but it seems linux doesn't think that gondor.localdomain is an FQDN either. Is it possible to see animals from space? Is it possible to have 3 real numbers that have both their sum and product equal to 1? Servername Localhost
share|improve this answer edited Mar 10 at 8:19 answered Dec 26 '13 at 18:45 Starx 2,28882334 3 Does anybody know how to make Apache say which config file it's having (13)permission Denied: Ah00072: Make_sock: Could Not Bind To Address [::]:80 What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
Just add the ServerName directive to /etc/apache2/httpd.conf: sudo nano /etc/apache2/httpd.conf Add: ServerName localhost Finally restart the Apache server: sudo /etc/init.d/apache2 restart share|improve this answer edited 2 days ago Peter Mortensen 10.5k1372108 Set the 'ServerName' directive globally Thanks for reply the problem solved. Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox (see an example). Set The 'servername' Directive Globally To Suppress This Message Windows Updated my answer to include some examples. –Paul Stengel May 9 '14 at 0:30 1 I found that: 127.0.0.1 myserver myserver.mydom.com ...
Hot Network Questions Help, my office wants infinite branch merges as policy; what other options do we have? Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). sudo service apache2 restart share|improve this answer edited Aug 19 at 9:22 nilli 33 answered Dec 10 '14 at 12:27 marknhopgood 10112 1 This is the Debian correct answer. http://sinistro.org/could-not/could-not-resolve-id-fqdn.html https://en.wikipedia.org/wiki/Virtual_hosting .
asked 3 years ago viewed 824871 times active 8 months ago Linked 66 Problem with restarting Apache 2 1 Restoring backup on new computer 0 Apache Error. User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. asked 1 year ago viewed 4290 times active 1 year ago Related 2How to add another domain to my chrooted named server2Short domain name to FQDN expansion2Hosts file on server with My little bit of understanding tells me that virtualhosting is a way where one server/IP address can serve multiple domains.
When hiking, why is the right of way given to people going up? If you have a name inside /etc/hostname you can also use that name instead of localhost. Get out of the transit airport at Schengen area and the counting of Schengen period Too many advisors What's the difference between ls and la? Thank's very much!
why do they give the same output? share|improve this answer edited Dec 20 at 19:52 Peter Mortensen 10.5k1372108 answered Nov 26 '12 at 12:06 Shawn Rieger 1,984263 2 Worked perfectly on Ubuntu 12.04 LTS running multiple virtual Did Donald Trump say that "global warming was a hoax invented by the Chinese"? Employer offering Roth 401k as well as traditional 401(k), established in career Is it possible to see animals from space?
asked 2 years ago viewed 59656 times active 4 months ago Related 3What is the purpose of Apache2's configuration files?0Problems setting up web server in CentOS1apache2 gui / Comanche Replacement0Apache2 virtual