You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ajay B <aj...@gmail.com> on 2016/12/16 11:50:39 UTC
[users@httpd] Issue During Cname Switch
Hi All
We are using Apache HTTPD server and pointing to our server using cname.
Whenever we point the cname to different server the apache is not able to
recognize it till we restart the httpd service.
Once we restart the apache it passed the request to new server.
Please help us in fixing this issue.
Thanks
Ajay
Re: [users@httpd] Issue During Cname Switch
Posted by Ajay B <aj...@gmail.com>.
Hi Yehuda
We changed only the DNS configuration not the HTTPD.
Thanks
Ajay
On Fri, Dec 16, 2016 at 7:41 PM, Yehuda Katz <ye...@ymkatz.net> wrote:
> Your question doesn't say whether you are changing the HTTPD configuration
> or just changing the DNS.
>
> Any time you change the HTTPD configuration you need to restart the
> service. There is no way around that. If that isn't the problem, try
> describing the steps you take when you make a change.
>
> - Y
>
> Sent from a device with a very small keyboard and hyperactive autocorrect.
>
> On Dec 16, 2016 6:51 AM, "Ajay B" <aj...@gmail.com> wrote:
>
>> Hi All
>>
>> We are using Apache HTTPD server and pointing to our server using cname.
>>
>> Whenever we point the cname to different server the apache is not able to
>> recognize it till we restart the httpd service.
>>
>> Once we restart the apache it passed the request to new server.
>>
>> Please help us in fixing this issue.
>>
>> Thanks
>> Ajay
>>
>>
Re: [users@httpd] Issue During Cname Switch
Posted by Yehuda Katz <ye...@ymkatz.net>.
Your question doesn't say whether you are changing the HTTPD configuration
or just changing the DNS.
Any time you change the HTTPD configuration you need to restart the
service. There is no way around that. If that isn't the problem, try
describing the steps you take when you make a change.
- Y
Sent from a device with a very small keyboard and hyperactive autocorrect.
On Dec 16, 2016 6:51 AM, "Ajay B" <aj...@gmail.com> wrote:
> Hi All
>
> We are using Apache HTTPD server and pointing to our server using cname.
>
> Whenever we point the cname to different server the apache is not able to
> recognize it till we restart the httpd service.
>
> Once we restart the apache it passed the request to new server.
>
> Please help us in fixing this issue.
>
> Thanks
> Ajay
>
>
Re: [users@httpd] Issue During Cname Switch
Posted by Eric Covener <co...@gmail.com>.
On Fri, Dec 16, 2016 at 6:50 AM, Ajay B <aj...@gmail.com> wrote:
> Once we restart the apache it passed the request to new server.
>
> Please help us in fixing this issue.
The manual says:
DNS resolution happens when the socket to the origin domain is created
for the first time. When connection pooling is used, each backend
domain is resolved only once per child process, and reused for all
further connections until the child is recycled. This information
should to be considered while planning DNS maintenance tasks involving
backend domains. Please also check ProxyPass parameters for more
details about connection reuse.
So net: Restart when your DNS changes or disable all reuse of backend
connections.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org