PDA

View Full Version : domain name is ignore by apache server



lalaniashok
September 5th, 2012, 05:28 AM
Hello,

i am not able to access my client's webpage... as well it's been ignored by apache server.

kindly let me know the solution.



root[at]Debian-60-squeeze-64-minimal:~# /etc/init.d/apache2 restart
Restarting web server: apache2[Tue Aug 21 15:12:02 2012] [error] (EAI 2)Name or service not known: Could not resolve host name *;80 -- ignoring!
[Tue Aug 21 15:12:02 2012] [error] (EAI 2)Name or service not known: Could not resolve host name *;80 -- ignoring!
apache2: Could not reliably determine the server's fully qualified domain name, using IP-address for ServerName
*... 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 not known: Could not resolve host name *;80 -- ignoring!
apache2: Could not reliably determine the server's fully qualified domain name, using IP-address for ServerName



mysite text file contains the following: /etc/apache2/sites-enabled/mysite



<VirtualHost *;80>
ServerName mysitecom
ServerAlias mysitecom
DocumentRoot /var/www/mysite
</VirtualHost>

<VirtualHost *;80>
ServerName wwwmysitecom
ServerAlias wwwmysitecom
DocumentRoot /var/www/mysite
</VirtualHost>


looking suggestion / just guide me

thanks in advanced

chrisd
September 5th, 2012, 05:39 AM
lalaniashok

Please let us know what domain or account this is regarding so we can review this for you.