Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to configure in some way (ideally on dns level) such scenario:

1) when all is fine, all requests goes to www.domain.com

2) in case when www.domain.com is down, all requests immediately go to other box (other IP in different datacenter) so users will get nice "maintanace page"

I am using IIS7, but i want this to work even when server is rebooting ort not available

share|improve this question

1 Answer 1

1) when all is fine, all requests goes to www.domain.com 2) in case when www.domain.com is down, all requests immediately go to other box (other IP in different datacenter) so users will get nice "maintanace page"

No. Beacuse the web server has no say ni the IP - basically if your server isdown, yo need to dfeed a different IP via DNS. THis means a VERY short TTL which ahs other problems.

Normally people using this use a special routing setup, but this is not feasible for a small dude.

What you need is TWO servers in a NLB based cluster, then one can get out and the other gets all requests. Same data center.

share|improve this answer
    
Thanks for help Tom. During last 3 months I faced situaltion when whole datacenter was not accessible for couple of hours, so just reserved server + load balancing will not help. –  Sergey Osypchuk Nov 23 '10 at 10:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.