I have two servers set up, a rented web server and my own computer (for Minecraft and silly pictures I like to be able to access any time).
I have the example domain http://www.[mydomain].com/ for my web server and I have set up my DNS record to point http://home.[mydomain].com/ to point to my home server, via a CNAME record to a NO-IP domain.
However, this server is not always online, because I use it as a regular computer and often only have it on when it's needed.
Is there any way to add a 'backup' page to my DNS record? What I mean is, can I modify my DNS record so that if the CNAME record for home.[mydomain].com can point to a page on my web server to say it's not available if the server does not resolve?
If not, is there any way I could set this up otherwise? I was thinking making a page on my web server which checks for a connection, and if there is a connection then it displays an iframe or something to the home server's page. I didn't want to do this though, because I would need to write a rewrite rule in .htaccess to make it work for all pages - and I haven't quite mastered the mod_rewrite syntax, even with that cheat sheet.
Any input is valued -
Thanks in advance!