Eai 2 Error
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Name Or Service Not Known: Ah00547: Could Not Resolve Host Name
the workings and policies of this site About Us Learn more could not resolve hostname ignoring about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault
Apache Failed To Resolve Server Name For
Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign namevirtualhost *:80 has no virtualhosts up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Apache Virtual Host error up vote 1 down vote favorite Before I begin to explain my issue, it's worth noting that my DNS records are setup correctly. This is a weird error, I have a apache servername server with the ip: 82.4.165.27 hosting several virtual directories. I'm using Apache2. My http://test.chorkley.co.uk/ url is usually setup to forward to https://test.chorkley.co.uk. That works. At the moment it simply loads the expected webpage. So the http://test.chorkley.co.uk/ url works as expected, however the https://test.chorkley.co.uk/ does not. It incorrectly loads https://home.chorkley.co.uk/. For some reason, the apache server doesn't recognise the *:443 version of the https://test.chorkley.co.uk/ site. apache2ctl -S Output: [Sat Apr 11 03:31:29.843972 2015] [core:error] [pid 11925] (EAI 2)Name or service not known: AH00547: Could not resolve host name *443 -- ignoring! VirtualHost configuration: *:443 is a NameVirtualHost default server home.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:6) port 443 namevhost home.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:6) port 443 namevhost cloud.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:20) *:80 is a NameVirtualHost default server home.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:1) port 80 namevhost home.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:1) port 80 namevhost cloud.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:15) port 80 namevhost test.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:29) port 80 namevhost vb.chorkley.co.uk (/etc/apache2/sites-enabled/default.conf:44) ServerRoot: "/etc/apache2" Main DocumentRoot: "/var/www/html" Main ErrorLog: "/var/log/apache2/error.log" Mutex default: dir="/var/lock/apache2" mechanism=fcntl Mutex mpm-accept: using_defaults Mutex watchdog-callback: using_defaults Mutex ssl-stapling: using_defaults Mutex ssl-cache: using_defaults PidFile: "/var/run/apache2/apache2.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="steven" id=1000 not_used Group: name="www-data"
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the
Apache2 Virtual Host
workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. http://serverfault.com/questions/681967/apache-virtual-host-error 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 the bottom:
Could not resolve host name *.80 -- ignoring! Published on http://hsmoore.com/eai-2name-or-service-not-known-could-not-resolve-host-name-80-ignoring/ May 8, 2012 by Andrew in centos, httpd, Linux You http://superuser.com/questions/189012/apache2-2-2-14-setup-with-multiple-virtual-hosts-for-local-testing are no doubt trying to add a vhost and you get the following error when attempting to affect changes by restarting the http daemon (httpd): (EAI 2)Name or service not known: Could not resolve host name *.80 -- could not ignoring! Not to worry! Add the following text to httpd.conf at the bottom (That's at /etc/httpd/conf/httpd.conf): NameVirtualHost 12.34.56.78:80
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Apache2 2.2.14 setup with multiple virtual hosts for local testing up vote 4 down vote favorite 3 I have setup an Apache 2 virtual host by this method. under /etc/apache2/sites-available I've create a dummy_site_1.conf dummy_site_1.conf