Quote:
|
Originally Posted by insitedev
If that doesn't work... can you post up your /etc/hosts file so that we can see what is defined in there?
|
I tried
Code:
NameVirtualHost *:80
And ran apachectl configtest to test if the configuration works or not. I still got the same error message, "Invalid virtual host name." The following is a copy of my /etc/hosts.
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
216.xxx.xxx.16 ntp1.servepath.com
216.xxx.xxx.17 ntp2.servepath.com
216.xxx.xxx.140 BAS-RedHat72-PSA.YOUR-DOMAIN-HERE.com
(I hided a part of IP address, since I did not want to show every single detail mindlessly.)