Home > Apache Error > Apache Error Eai 2name Or Service Not Known

Apache Error Eai 2name Or Service Not Known


Force Microsoft Word to NEVER auto-capitalize the name of my company Why write an entire bash script in functions? Search this Thread 02-27-2011, 03:39 PM #1 zerama LQ Newbie Registered: Feb 2011 Posts: 4 Rep: Virtual Hosts Problem Hey, I've been having trouble setting up Virtual hosts on 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. Code: Starting httpd: [Fri Sep 30 11:20:37 2011] [error] (EAI 2)Name or service not known: Could not resolve host name : -- ignoring! [Fri Sep 30 11:20:39 2011] [error] (EAI 2)Name his comment is here

I keep getting these errors and cannot seem to figure out why. [error] (EAI 2)Name or service not known: Could not resolve host name *:80/ -- ignoring! [error] (EAI 2)Name or What's New? Tried a few things but noting seems to work. If not then you may have an issue with your DNS.

Apache Could Not Resolve Hostname Ignoring

SeLLeRoNe - Andrea Iannucci DevOps Engineer - System Administrator If you need my support write me an E-Mail to [email protected] Reply With Quote 09-30-2011,06:27 AM #13 haringsrob View Profile View Forum You may have to register before you can post: click the register link above to proceed. Why did companions have such high social standing?

But nothing seems to work. Now when i add a domain in my user level of directadmin and i go to this domain only: Apache is functioning normally shows up. Conclusion This happens due to DNS server not provided in /etc/hosts provided. What tool can I use?

It incorrectly loads https://home.chorkley.co.uk/. Apache Server Name Code: change them to colons, e.g.: Code: Reply With Quote 08-22-2012 #3 black_penguin View Profile View Forum Posts Private Message View Articles Just Joined! Second resolve is simply: Add ServerName localhost to main config. http://serverfault.com/questions/387530/could-not-resolve-host-name-while-setting-up-namevirtualhost Quote: # #ServerName www.example.com:80 ServerName site1.com:80 hua View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by hua 02-28-2011, 09:11 AM #10 zerama

The default is Off. # #ExtendedStatus On User apache Group apache ### Section 2: 'Main' server configuration # # The directives in this section set up the values used by the terbor New Member Hi I am running into an issue with apache and setting up multiple domains on one server. Join them; it only takes a minute: Sign up Error after adding vhost to httpd.conf - centos up vote 2 down vote favorite I added the following text to httpd.conf at check if apache is running or Code: /etc/init.d/httpd status or Code: ps aux | grep httpd Let me know SeLLeRoNe - Andrea Iannucci DevOps Engineer - System Administrator If you need

Apache Server Name

also, in your httpd.conf file you can define ServerName with the loopback ip address ( http://stackoverflow.com/questions/4404732/apache-restart-on-ubuntu-error-could-not-bind-to-address-0-0-0-0-80 Please click the link in the confirmation email to activate your subscription. Apache Could Not Resolve Hostname Ignoring Does the existence of Prawn weapons suggest other hostile races in the District 9 universe? Apache2 Virtual Host How can I remove perfectly round locking wheel lugs?

Can you find me? http://dis-lb.net/apache-error/apache-error-503-323.php What is this aircraft? If they are not valid DNS entries (or you're not using DNS), you can simply add entries for them in /etc/hosts, pointing to your local ip address. Seemed to have no effect on the server however, Thanks for your help, Any mroe suggestions?

waiting [Tue Aug 21 15:12:03 2012] [error] (EAI 2)Name or service not known: Could not resolve host name *;80 -- ignoring! [Tue Aug 21 15:12:03 2012] [error] (EAI 2)Name or service Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # #CustomLog logs/access_log common # # If you would like to Required fields are marked *Comment Name * Email * Website Notify me of follow-up comments by email. http://dis-lb.net/apache-error/apache-error-403.php Wrong: Should be: share|improve this answer answered Mar 31 '15 at 13:19 Markus 743 add a comment| up vote 0 down vote I had the same problem

Did the Emperor intend to live forever? DAVLockDB /var/lib/dav/lockdb # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated Is this safe to display MySQL query error in webpage if something went wrong?

Howto prevent chrgrp from clearing “setuid bit”?

If not, why? Reason: Removing chevrons as they could be confusing Should you be sitting wondering, Which Batman is the best, There's only one true answer my friend, It's Adam Bloody West! Why are some programming languages turing complete but lack some abilities of other languages? vBulletin 2000 - 2016, Jelsoft Enterprises Ltd.

Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Help My girlfriend has mentioned disowning her 14 y/o transgender daughter Technical term to denote opposite of dependency injection? Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest check over here Home Forum Today's Posts | FAQ | Calendar | Community Groups | Forum Actions Mark Forums Read | Quick Links View Site Leaders | Unanswered Posts | Forum Rules Articles Marketplace

Tac Anti Spam from Surrey Forum Register Help Remember Me? Be sure that your machine name and localhost domain definition is correct (ie: " localhost.localdomain localhost" However it is highly unlikely, check /etc/apache2/ports.conf if it contains explicitly "" share|improve this answer 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. See also the AllowOverride # directive. # AccessFileName .htaccess # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Order

So what you have to do is just add a DNS server in a /etc/hosts like shown below so that the service will find it. 192.168.*.*  www1.redhat.com  www1 # Put your system’s IP However, after restarting apache, I recieved this error 4 times: [error] (EAI 2)Name or service not known: Could not resolve host name *80 -- ignoring! How to protect an army from a Storm of Vengeance Did the Emperor intend to live forever? Apache/2.2.12 (Ubuntu) Server 9.10 bind9 Issue: All traffic funnels to the first Virtual Host Setup: Bind: I setup 3 master zones asub.domain.com, domain.com, url.com (All traffic from these 3 are going

As result, I cannot access my webpage. Results 1 to 3 of 3 Thread: Help me: Apache error : (EAI 2) Name or Service Not Known: Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode FAQ Forum Quick Links Unanswered Posts New Posts View Forum Leaders FAQ Contact an Admin Forum Community Forum Council FC Agenda Forum Governance Forum Staff Ubuntu Forums Code of Conduct Forum Subscribed!

You probably want to change this. # LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru LinuxQuestions.org > Forums > Linux Forums > Linux - Server [SOLVED] Virtual Hosts Problem User Name Remember Me? This page which came up first in google: http://www.linuxhomenetworking.com/w...che_Web_Server Says something about putting localhost in the VirtualHost directive. For my /etc/apache2/sites-available/default i have used a virtual host of *:80 apache ubuntu apache2 share|improve this question edited Jan 22 '14 at 7:23 Kara 3,12373147 asked Dec 10 '10 at 1:04

Religious supervisor wants to thank god in the acknowledgements Dirac delta function and correlation functions Can Infrared Thermometer (IR Gun) be used to measure the ambient room temperature? How can I obtain 12v dc, 3.3v dc and 5v dc from a single 5v Li-ion battery?