[CentOS] "Site down for maintenance" - How is this accomplished?

Chris Boyd cboyd at gizmopartners.com
Fri Aug 24 18:13:18 UTC 2007


On Aug 23, 2007, at 10:30 PM, Feizhou wrote:
> Keep or setup a box inhouse to show the message, when the servers  
> are online in the data center, switch ips for the names over and  
> then change  the setup on the box to either redirect or proxy the  
> requests to the real servers to handle incoming http requests due  
> to cached dns entries.

Also, lower the cache time in your nameserver's zone files so that  
people will see the new IP addresses faster.  3600 seconds works  
pretty well, but I've used as little as 120 seconds for sites that  
are more popular.

--Chris



More information about the CentOS mailing list