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.

I have a VPS server running in the cloud. Fully automated server image upgrade/downgrade(by RAM/HDD plans).

The problem is that server upgrade/downgrade takes time and involves total unavailability during this period(up to 30 minutes).

Goal: during this downtime server my website(http://mydomain.here) from different server with some message like "Under construction".

How can I do this?

--

mydomain.here is hosted on godaddy and uses its DNS(If I call it right). It's pointing with A-record to my VPS's IP address now.

Change in these DNS settings will take more than 30minutes, so it's not an option. How can I find mode "dynamic" DNS? What should I learn?

share|improve this question

1 Answer 1

what's your budget to achieve this? can you afford having two servers and 'floating' ip address that is assigned to the active node?

say you have 80.1.2.3 permanently assigned to 'fat' machine serving your actual content; you use this ip just for management. 80.1.2.4 bound to machine that only role is to display your 'we will be back soon'-page. and 80.1.2.5 assigned to active node.

with heartbeat you can even automate assignment of floating ip to the right node so in case of crash of primary server the other machine will get it automatically.

ps. your virtual hosting provider will need to support such scenario. some of them do at least for dedicated machines, but i see no technical reasons not to support it for vps'es too.

ps. and yes you can fiddle with dns but it's just wrong [ in my personal, humble opinion ]. there are plenty of operators that provide you with the administrative panel which allows you to set cache lifetime of dns answers.

share|improve this answer
    
+1 - DNS changes is not the answer. –  Alnitak May 17 '10 at 10:29

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.