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?
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.
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
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.
# 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...
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...
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.
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..
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.
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: ...
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.
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?
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:-
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?
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.