I'm sorry, while I was making changes suggested, I found something. I'd like us to step back.
Initially, I kept thinking that "localhost", the alias is the problem, because I was getting the error message, "Invalid virtual host name". However, as I checked the error message again, I noticed that the error is on line 1306 which is the following:
Code:
WebAppDeploy jsp conn /jsp/
So, I commented out NameVirtualHost like
And I also put /etc/hosts back like
Code:
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
And I just commented out the line 1306 like
Code:
<IfModule mod_webapp.c>
WebAppConnection conn warp localhost:8008
#WebAppDeploy jsp conn /jsp/
</IfModule>
This time, I get the following message, "[warn]NameVirtualHost xxx.xxx.xxx.xxx:443 has no Virtual Hosts Syntax OK." There is no error this time, just a warning. So the problem is:
Code:
WebAppDeploy jsp conn /jsp/
Sorry about all these confusion; this is the problem.
Ok, so now what? What is wrong this line, line 1306?