PHP Developers Network
http://forums.devnetwork.net/

Domain redirect to Backup server if main server is down?
http://forums.devnetwork.net/viewtopic.php?f=30&t=99471
Page 2 of 2

Author:  jaoudestudios [ Sat May 02, 2009 2:42 pm ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

What port do I need to open on my firewall for my nameserver?

Author:  Eran [ Sat May 02, 2009 3:27 pm ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

If you are using BIND, I think it's port 53. You should check the configuration file though

Author:  jaoudestudios [ Sun May 03, 2009 2:39 am ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

Thanks, yep, I confirm it is port 53.

I am having some issues with this nameserver & zone files etc, so my original plan is falling apart and I am running out of time. Is there an easier way to do a catch all, so if any of the domains are unreachable they all point to the same webpage, i.e. a maintenace page?

Author:  Eran [ Sun May 03, 2009 8:22 am ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

I had thought about it again, and since you say your nameserver is not the server you are taking down the answer is simply changing the ip of the domain on the nameserver when you need to take it down. I'm not aware of a way to do this automatically without some middleware (clustering software for example)

Author:  jaoudestudios [ Sun May 03, 2009 9:59 am ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

That does sound like the best way. I have modified my configurations and setup a few test subdomains and it all seems to work perfectly. More manual, but a GREAT idea, thanks :)

That solves the website issue, but what about email? can I do the same?

Author:  Eran [ Sun May 03, 2009 10:40 am ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

I should think Email domains are resolved the same and thus should reach your backup server (provided you configured your mail server on it properly)

Author:  jaoudestudios [ Sun May 03, 2009 10:44 am ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

Sorry, that is what I meant, how do I configure the email accounts on the server? I have googled around, but none the wiser. Any good tutorials you're aware of?

Author:  Eran [ Sun May 03, 2009 11:03 am ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

There are literally dozens of different mail-servers (most common being Exim and postfix), so that's really hard to say. Probably best to use what comes packaged with your distribution. Configuring a mail server properly is quite a task, so if you have a working configuration you might consider duplicating it.

Author:  jaoudestudios [ Sun May 03, 2009 3:12 pm ]
Post subject:  Re: Domain redirect to Backup server if main server is down?


Author:  a94060 [ Fri Jun 26, 2009 10:57 pm ]
Post subject:  Re: Domain redirect to Backup server if main server is down?

do you have a domain name? If you do,im sure that they would offer a panel for control allowing you to modify name servers. As for needed to have your own on top of that,im not entirely sure that you have to have one.

Page 2 of 2 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/