Re: [users@httpd] Where does apache look for the domain name?

2015-06-21 Thread Greg
the one "outside" the virtualhost directive is inside the default virtualhost. Thank you, Greg Borbonus *Nix Server administrator 832-699-0461 http://www.linkedin.com/in/gregborbonus/ On 6/21/2015 5:29 PM, Knute Johnson wrote: Thanks for all the replies. I do have the apache.conf file. Since

Re: [users@httpd] Where does apache look for the domain name?

2015-06-21 Thread Knute Johnson
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 outs

Re: [users@httpd] Where does apache look for the domain name?

2015-06-21 Thread Greg
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

Re: [users@httpd] Where does apache look for the domain name?

2015-06-21 Thread aparna Puram
In httpd.conf file On 21-Jun-2015 7:37 pm, "Knute Johnson" 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

Re: [users@httpd] Where does apache look for the domain name?

2015-06-21 Thread aparna Puram
In https.conf file On 21-Jun-2015 7:37 pm, "Knute Johnson" 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

[users@httpd] Where does apache look for the domain name?

2015-06-21 Thread Knute Johnson
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 ---