If you are getting the above error while accessing your site , it means your domain entry is missing in the “Apache ConfigurationFile”
(httpd.conf) .
You just need to add the entry for your domain in the httpd.conf file
ex :
======================================
root@server[#] vi /etc/httpd/conf/httpd.conf
<VirtualHost 0.0.0.0:80>
ServerName domain.com
ServerAlias www.domain.com
DocumentRoot /home/username/public_html/
ServerAdmin webmaster@domain.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/domain.com combined
CustomLog /usr/local/apache/domlogs/domain.com-bytes_log
ScriptAlias /cgi-bin/ /home/username/public_html//cgi-bin/
Include “/usr/local/apache/conf/userdata/std/2/domain.com/*.conf”
</VirtualHost>
:wq!
======================================
Note : Replace domain.com to your domain.
That’s all this will do it.

