Redirect To Backup Server Automatically

Jun 11, 2009

I have a server in a country (Location 1) and I have my company website on it and in this country the connection is very fast but not very stable so I have the same website on another server (Location 2) as a backup server so I want to do is as the following:

- www.mywebsite.com > Website loads from my Server at Location 1.

- Server at Location 1 is down.

- www.mywebsite.com > Website loads from my Server at Location 2.

- Server at Location 1 is back working.

- www.mywebsite.com > Website loads from my server at Location 1.

How can I do this in DNS options?

Also Can you suggest an easy way to do realtime backup from the server at Location 1 to Location 2 so that any changes made on Location 1 are cloned on Location 2?

View 14 Replies


ADVERTISEMENT

Automatically Purge Backup Files Off Thumb Drive

Apr 20, 2007

we have a thumb drive attached to a CentOS (linux) box and mysql backups are automatically saved to the thumb drive. Is there a way an HOW to automatically purge backup files if they are older than say 15 days? I suppose I would need to write a script for this and place it in the cron scheduler.

The format of the mysql dump files are:

Backup_20070420_0015.sql

View 10 Replies View Related

Apache :: Server Restarting Automatically

Jan 16, 2015

Apache Version: 2.2.29
OS Version: Windows 2012 R2 64 bit OS

Restart of apache is happening continuously .... below is snippet of the same.....

Fri Jan 16 11:22:53 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Fri Jan 16 11:22:53 2015] [notice] Apache/2.2.29 (Win32) configured -- resuming normal operations
[Fri Jan 16 11:22:53 2015] [notice] Server built: Sep 10 2014 11:38:25
[Fri Jan 16 11:22:53 2015] [notice] Parent: Created child process 11440
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Child process is running
[Fri Jan 16 11:22:53 2015] [notice] Oracle WebLogic plugin build date/time: Feb 9 2011 11:49:26. Change Number: 1386101
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Acquired the start mutex.
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting 64 worker threads.
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting thread to listen on port 80.
[Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting thread to listen on port 80.
[Fri Jan 16 11:22:54 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Fri Jan 16 11:22:54 2015] [notice] Apache/2.2.29 (Win32) configured -- resuming normal operations

View 2 Replies View Related

How To Automatically Send Email When Someone Login Server Via ROOT

Jun 8, 2009

I want to have an email alert everytime someone login into my server using ROOT user.

The server is based on Linux system.

View 10 Replies View Related

Automatically Restart Mysql After High Server Load

Jan 29, 2009

Anyone know a good script that I can run with cron or something? Mysql seems to be the #1 problem with a lot of my web sites, a restart usually fixes it right away for me, but I can't keep restarting my servers everyday manually.

View 1 Replies View Related

[mailconfigupdate] Unable To Automatically Update The Mailer Config On SERVER

Nov 25, 2008

I've added this:

# Added for me
hostlist privaterelay_hosts = lsearch;/etc/privaterelay

And changed this:

accept hosts = +relay_hosts

Into this:

accept hosts = +relay_hosts +privaterelay_hosts

within the Exim Advanced configuration editor. Cause I wish to allow a relay without authentification.

This morning, I've got this:

cPanel was unable to automatically merge your Exim configuration with the new settings that shipped with the build you have installed (11.23.6-RELEASE_27698) because you have a custom ACL configuration which cannot be automatically configured.

To avoid any mail downtime, we thought it was best to leave your previous configuration intact until the new configuration can be properly installed. In order to complete this configuration update, you will need to manually merge your configuration with the new
configuration settings. Please follow the steps below to complete this update:

1. Enter the Advanced Configuration Editor

2. Notate any custom changes you have made in the ACL section. You may also which to make a copy of /etc/exim.conf.local and /etc/exim.conf.localopts as custom settings are contained in these files.

3. Click the 'Reset ACL Config to Defaults' button.

4. Reinstall your advanced custom settings.

Until you manually complete this update, automatic spam filtering may have been rendered inoperable to prevent any mail loss. (This generally only applied is you were upgrading from cPanel 10.x)

Current Config Version: unknown
New Config Version: 4.900000

What can I do to prevent this ? Cause last time, all mail was receiving a 550 (SMTP Protocol Returned a Permanent Error 550 Sender verify failed) which is pretty bad...

View 0 Replies View Related

Plesk 11.x / Windows :: Mail - Automatically Delete Downloaded Emails On Server?

May 15, 2013

Ho can I configure that in the mail accounts the mails are deleted after downloading with outlook?

View 2 Replies View Related

Apache :: Redirect - Internal Server Through External Server

Oct 7, 2014

I have a -I think- common issue, one external server available from internet and an internal server for local only.

I want that to ask for [URL] ....

I can get the content of an internal server. For this I tried this at httpd.conf:

Redirect /site http://in.ter.nal.ip/site

but browser changes to internal IP and obviously I can't reach it.

So, I need that when external server detects that I want to see internal server content, it ask to internal and external itself answers.

View 2 Replies View Related

How Do U Redirect A Folder To Another Server

Mar 3, 2008

I'm hosting a site for a organization but using our own servers. Problem is that they did not want to use a subdomain link to our server but instead wants the server to appear as www(dot)abcdefg(dot)com/ourserver/

can this be done.

Currently my options are :

1) Force them to use sub domains and redirect

2) HTML "Frame" their website to ours (ungraceful method)

3) Truely Redirect it to our server by some means...

View 8 Replies View Related

Windows Server Redirect

Dec 13, 2008

I recently signed up for a new Verio Windows shared hosting account for the purpose of setting up multiple web sites for my family. At the same time, I moved 12 domain names I was holding under the new primary domain name in this hosting plan for ease of managing my accounts. The hosting plan allows up to 6 web sites to be published, and I do not plan on doing anything with the remaining domain names at this time. Here's the issue. I uploaded an index file to the primary domain name. Now, every other domain name, if entered in a web browser, brings up the index page in the primary domain name.

As I understand it, because this is a windows server, I can't use an .htaccess file to redirect all the domains I just want a placeholder for. Verio can't help me so I am looking for a relatively easy solution. Apparently, the server has a URL Rewrite (ISAPI_Rewrite 3) tool to add configurations from Apache to IIS by creating .htaccess files, but this is way over my head.

View 6 Replies View Related

Redirect / Rewrite To An External Server

Oct 27, 2009

app and content are separate physical machines

I want [url]to be processed by app directly, which it's doing now

I want [url]or [url]to display content from content, either directly or through a hidden/stealth redirect.

How can this be accomplished? How else can I have one URL serve from two different servers other than using subdomains?

View 1 Replies View Related

Apache :: Need To Redirect Root Of Server

Oct 9, 2014

creating a basic redirect. What I need is to redirect the root of my server 173.x.x.x to a file called test.php in the root of my folder.example: when I go to http://173.x.x.x I get redirected to http://173.x.x.x/test.php..

View 3 Replies View Related

HTTP To HTTPS Redirect On Zeus Web Server

Jun 16, 2009

I have done this with .htaccess on apche but I am looking to do HTTP to HTTPS redirect for all requests on Zeus server using rewite.script

what I want basically is that all request to [url]goes to [url]

View 0 Replies View Related

Linux Iptable Rules - Redirect Web Server

Jul 24, 2008

I am having an issue with redirecting our local (inside network) traffic to our new web server via iptables in Linux. The setup we have right now is a Linux server (old web server and current firewall) and a new Windows 2003 server for the new web server.

Linux IP: 192.168.0.1
New Server IP: 192.168.0.22

-A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.0.22:80

The above works great for everyone outside the office but the internal network still sees the old web server (same box as this firewall).

I thought I could redirect the older server's ip to the new server for the internal office but this did nothing.

-A PREROUTING -p tcp -d 192.168.0.1 --dport 80 -j DNAT --to-destination 192.168.0.22:80

I then changed the 192.168.0.1 to our real ip number and this might be closer but the website now times out (packets getting lost maybe?).

View 3 Replies View Related

Domain Name Server (DNS) Hosting With Redirect Based On Location

Oct 27, 2009

i am looking for dns hosting with redirect to a server in Europe or usa based on location.

View 2 Replies View Related

Multiple Subdomain Redirect To Windows 2003 Server

Sep 17, 2007

Is it possible to send subdomain2.subdomain1.domain.com to a Windows 2003 IIS server thats different than the one where domain.com is hosted on?

View 1 Replies View Related

Redirect 8080 Requests To 80 Port - Tomcat Problem At CPanel Server

Jan 31, 2008

Yesterday I installed tomcat on a RHEL 4 + cPanel and httpd 2.0.63 server using easyapache3, process was ok, jsp pages are loading fine using http://site.com/example.jsp , but servlets, are not working using http://site.com/example, how ever, if I load http://site.com:8080/example it loads the servlet perfect.

I read something about redirecting all traffict from port 80 to 8080, but you know.. this is a shared server, and that would affect all customers on the server.

So, mod_jk seems to be the only solution, now I read many documents over the web, but no one seems to be working to configure apache2 and mod_jk that is installed using easyapache3 script.

In my httpd.conf file, i have this:

LoadModule jk_module modules/mod_jk.so
Include "/usr/local/apache/conf/jk.conf"
At jk.conf i have this content: ...

View 5 Replies View Related

Php 4 Automatically Becomes Php 5

Feb 17, 2008

we compile a php 4 with all the modules that we require. However, after a day or so, it automatically becomes a fresh compilation of php 5. We then recompile to php 4, but same thing, after a day or so it become php 5 again. We've checked cron, and there's nothing to do with recompiling php.

View 5 Replies View Related

How Can I Reboot My Vps Automatically

Oct 24, 2008

reboot my vps every 30 min automatically in my hypervm control panel. How can i do that?

View 12 Replies View Related

Will Csf/lfd Block Certain Script Automatically

May 15, 2009

i install csf/lfd with centos and cpanel,

i find certain waste many use a lot of resource and it does not work now,

is it possible csf/lfd block it?

if possible,how can i check if it is blocking?

View 5 Replies View Related

Automatically Update AWStats?

Sep 16, 2008

I'm not 100% sure where to ask this, so feel free to move it to a more appropriate place if necessary.

At present, my webhost provides me with some statistics about my website through "AWStats". The problem I have is that if I don't update the 'stats' everyday, then I lose that day's records and I have a gap in my statistics.

is there a way I can automate the updating of the AWStats?

View 10 Replies View Related

Why Does XINETD Keep Automatically Shutting Down

Jul 2, 2008

I use rfxnetworks.com/sim.php on my cpanel server and it all worked fine until the last week where each morning 6am GMT I get a status warning telling me that XINET was down and that it had to restart it.

Has something changed? Is there now something weird about XINETD and cpanel? My cpanel is stable and set to automatically update.

In fact it looks like something ALWAYS shuts it down and then SIM restarts it looking at a section of messages:-

Jul 2 05:57:02 tkey-29dd xinetd: xinetd shutdown succeeded
Jul 2 06:00:01 tkey-29dd xinetd: xinetd shutdown failed
Jul 2 06:00:01 tkey-29dd xinetd: xinetd startup succeeded

What is causing my server to shutdown xinetd in the first place?

View 0 Replies View Related

DoS :: Block IP Address Automatically

May 4, 2008

I manage a website which runs on the cpanel/whm interface and was wondering if there was anything my host could do to prevent DoS attacks on the server...at the moment we are having huge DoS attacks on our website therefore taking the whole website down for quite long periods of time.

My host just seems to be manually blocking the DoS'ers IP's manually but this is just too tedious and not efficient enough.

Is there any program for example that he can install which will block andy ip which sends a certain amount of requests within a given time period?

View 3 Replies View Related

How To Start Apache Automatically When Down

Feb 21, 2008

Is there a way to start apache in linux if it goes down automatically?

View 10 Replies View Related

Deleting Files Automatically

Oct 11, 2007

Is there a way to automatically remove files from a folder on a schedule, say daily, and move them to the Recycle Bin? Can the Recycle Bin files be deleted daily on a schedule? If so, how?

I have Microsoft Office Professional 2007 running on a Windows 2003 Server.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved