Page 2 of 2

Re: Domain redirect to Backup server if main server is down?

Posted: Sat May 02, 2009 2:42 pm
by jaoudestudios
What port do I need to open on my firewall for my nameserver?

Re: Domain redirect to Backup server if main server is down?

Posted: Sat May 02, 2009 3:27 pm
by Eran
If you are using BIND, I think it's port 53. You should check the configuration file though

Re: Domain redirect to Backup server if main server is down?

Posted: Sun May 03, 2009 2:39 am
by jaoudestudios
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?

Re: Domain redirect to Backup server if main server is down?

Posted: Sun May 03, 2009 8:22 am
by Eran
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)

Re: Domain redirect to Backup server if main server is down?

Posted: Sun May 03, 2009 9:59 am
by jaoudestudios
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?

Re: Domain redirect to Backup server if main server is down?

Posted: Sun May 03, 2009 10:40 am
by Eran
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)

Re: Domain redirect to Backup server if main server is down?

Posted: Sun May 03, 2009 10:44 am
by jaoudestudios
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?

Re: Domain redirect to Backup server if main server is down?

Posted: Sun May 03, 2009 11:03 am
by Eran
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.

Re: Domain redirect to Backup server if main server is down?

Posted: Sun May 03, 2009 3:12 pm
by jaoudestudios
pytrin wrote:Configuring a mail server properly is quite a task
Ah ok, might give that a miss then.

Re: Domain redirect to Backup server if main server is down?

Posted: Fri Jun 26, 2009 10:57 pm
by a94060
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.