Home > Could Not > Eai 2 Error

Eai 2 Error

Contents

Michael Thanks, again. Back to top henkoegemaJoined: 06 Aug 2013Posts: 5Location: Netherlands, Lunteren Posted: Mon 12 Aug '13 15:25 Post subject: Thanks very much for your help James. Thank You! I restarted Apache again and this time the hosts could be resolved but unfortunately the website still didn't work.

acid_kewpie View Public Profile View LQ Blog View Review Entries View HCL Entries Visit acid_kewpie's homepage! apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Sun Sep 23 08:20:02 2007] [error] (EAI 2)Name or service not known: Cannot resolve host name cthia Notify me of new posts by email. The time now is 12:27 PM.

Name Or Service Not Known: Ah00547: Could Not Resolve Host Name

Reply With Quote 09-30-2011,06:33 AM #14 SeLLeRoNe View Profile View Forum Posts Visit Homepage Crazy Network Join Date Oct 2004 Location London, UK Posts 6,249 Ok, now you gave the real STEP 2 Nothing worked so I finally restarted the whole server # /sbin/reboot and voilà everything started working like a charm! How do I debug an emoticon-based URL? Hot Network Questions Can we say "He is accountable but not blamable" ?

if you define your hostname and a domain name correctly that will go away. When I do the apache2 restart, I see the text I copied before. Are you new to LinuxQuestions.org? Apache Servername not a word I like to use.

The problem I encoutered was that someone setup ip based virtual hosts when they really wanted name based, and one of the domains wasn't in dns. Could Not Resolve Hostname Ignoring Can 'it' be used to refer to a person? For do that you need to do this: Code: cp /usr/local/directadmin/data/templates/virtual_host2* /usr/local/directadmin/data/templates/custom/ Once you did this edit all virtual_host2* file in custom directory and change IP with the internal IP. There is an index page within each of the other directories, which is visible if I enter: http://localhost/cthia etc.

did you use some gui tool to do things? Apache2 Virtual Host Please visit this page to clear all LQ-related cookies. MJWhiteDerm View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by MJWhiteDerm 09-23-2007, 11:13 AM #7 MJWhiteDerm LQ Newbie Registered: Mar 2007 Posts: Tags: centos, Linux, vhost « Virgin Media blocks torrent si...

Could Not Resolve Hostname Ignoring

Contexts and parallelization Speed and Velocity in German Wrong password - number of retries - what's a good number to allow? https://www.apachelounge.com/viewtopic.php?p=25378 Do you need to see it? Name Or Service Not Known: Ah00547: Could Not Resolve Host Name If things still do not work as expected, add a line to each of your virtualhost conf files below the servername lines so they look like this: ServerName local.dummy_site_1 ServerAlias *.local.dummy_site_1 Apache Failed To Resolve Server Name For Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders Advanced Search Forum Technical Discussion CentOS NameVirtualHost CentOS 6 If this is your first

I'm not trying to be obtuse. Tango Icons © Tango Desktop Project. I'm only have One ip. Most are just hobbies. Namevirtualhost *:80 Has No Virtualhosts

They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Conclusion This happens due to DNS server not¬†provided in /etc/hosts¬†provided. apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName " Any idea share|improve this answer answered May 8 '12 at 14:55 Daniel Magnusson 5,17722839 I read that, and to be honest, I still don't get it.. –ao789 May 8 '12 at

centos vhosts share|improve this question asked May 8 '12 at 14:54 ao789 8411121 I have added "NameVirtualHost 12.34.56.78.80" above it all and that resolves the error, but cant seem So, I asked other people for advice, including on the ubuntu forums, and someone suggested using webmin, which I downloaded. [email protected]:~# I do have an AAAA record pointing to 2001:7b8:2ff:8469::1 Who can help?

Thank you.

How can I tether a camera to a laptop, to show its menus and functions for teaching purposes? Join our community today! acid_kewpie View Public Profile View LQ Blog View Review Entries View HCL Entries Visit acid_kewpie's homepage! I am fortunate to have fiber optic right to the house, and have a range of fixed IP addresses.

But when I tried to add virtual host configuration files under sites-available, they would only be visible if I used http://64.91.78.105/laxlinux or 105/rationaldruids or 105/primumnonnocere (first, do no harm -- I'm students who have girlfriends/are married/don't come in weekends...? DNS looks ok but when I tray to run httpd I got this message :Starting httpd: [Thu Aug 07 22:33:44 2008] [error] (EAI 2)Name or service not known: Could not resolve and the latter file is kept merely for backwards compatibility.

My design skills are pretty weak, but I'm learning. It incorrectly loads https://home.chorkley.co.uk/. Code: ServerName www.y0o.nl ServerAlias www.y0o.nl y0o.nl ServerAdmin [email protected] DocumentRoot /home/admin/domains/y0o.nl/public_html ScriptAlias /cgi-bin/ /home/admin/domains/y0o.nl/public_html/cgi-bin/ UseCanonicalName OFF SuexecUserGroup admin admin CustomLog /var/log/httpd/domains/y0o.nl.bytes bytes CustomLog /var/log/httpd/domains/y0o.nl.log combined ErrorLog /var/log/httpd/domains/y0o.nl.error.log Very simple number line with points Question from Mark Twain's quote What is the difference between SAN and SNI SSL certificates?

Seems or that apache isnt restart or that the new httpd.conf is not loaded (or not craeted). Password Linux - Server This forum is for the discussion of Linux Software used in a server related context. example: NameVirtualHost *:80 NameVirtualHost *:443 ServerAdmin [email protected] DocumentRoot "/path/to/vhost/documents" ServerName servername.domain.tld ServerAlias serveralias.domain.tld ErrorLog "/path/to/logfiles/servername.domain.tld-error.log" CustomLog "/path/to/logfiles/servername.domain.tld-access.log" common allow from all Option +Indexes waiting [Wed Sep 15 14:00:44 2010] [error] (EAI 5)No address associated with hostname: Could not resolve host name local.dummy_site_2 -- ignoring!

Well, obviously this error comes while¬†restarting the httpd service especially at the time of NAME-BASED VIRTUAL HOSTING.¬†According to us, this happens if there is an error in either one of the¬†following The default file is: "NameVirtualHost * # This is the unmodified default file under /etc/apache2/sites-available ServerAdmin [email protected] DocumentRoot /var/www Options FollowSymLinks AllowOverride None Options The first part has to be in apache2.conf, but can also be in the ports.conf (it won't make any difference) The vhost stuff of cause in /etc/apache2/sites-enabled/000-default Sorry, I thought it