Thanks for all the replies. I do have
the apache.conf file. Since I didn't have the httpd.conf file I
tried putting it in with the VirtualHost but outside of the
label. That seems to have solved it for now. I had a ServerName
directive inside the VirtualHost but apparently it needs one
outside as well.
Thanks,
knute...
On 6/21/2015 11:12, Greg wrote:
It may also be in apache2.conf
If you find the file /etc/apache2/apache2.conf, just run:
echo 'ServerName YOUR_SERVERS_FQDN' >>
/etc/apache2/apache2.conf
Replace YOUR_SERVERS_FQDN with the actual hostname of the server
that RESOLVES. It's important that if you set it to
server.domain.com, then server.domain.com should point to the
correct ip of your server.
From the looks of it, your servers hostname is knute5.frazmtn.com
and it resolves properly.
IF that is the case AND /etc/apache2/apache2.conf is the correct
config file, just run:
echo 'ServerName knute5.frazmtn.com' >>
/etc/apache2/apache2.conf
Do not run both commands or the same command twice, you only want
1 entry for the servers ServerName.
Thank you,
Greg Borbonus
*Nix Server administrator
832-699-0461
http://www.linkedin.com/in/gregborbonus/
On 6/21/2015 9:12 AM, aparna Puram
wrote:
In httpd.conf file
On 21-Jun-2015 7:37 pm, "Knute Johnson"
< apache@xxxxxxxxxxxxxxxx>
wrote:
Got this
in my log:
/etc/cron.daily/logrotate:
apache2: Could not reliably determine the server's fully
qualified domain name, using 216.240.58.141 for ServerName
Where does apache look for the domain name?
Thanks,
--
Knute Johnson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--
Knute Johnson
|