i want to kill apache/http and restart it again automatically. i need this because sometime we are not in front of the server to fix an overload issue immediately, which can affect a server very badly. i believe many of us already face this kind of situation and hope there is some kind of script or way to do this.
Example: I have 1 server for hosting, 1 server as Dedicated Backup server (Pls don't recommend me outsourced backup server as I already got one)
I am looking for a solution which I am able to do daily backup while keeping low server load as well as able to restore it quickly when I need it. It's a cpanel servers.
I understand that CPanel own backup method will tar my files (but I have too many accounts) and it also takes a lot of my server CPU resources which slows down my hosting server.
I am now using rsync which does incremental backup that really works and I am happy about it but I paid $55 per month for 1 cpanel servers as I oursourced the rsync installation & server management backup. I have few servers and I don't find it cost effective.
Anyone here can suggest different kind of method which I have not known yet? Or I would really appreciate if someone do not mind to share installation procedure for rsync with me. I tried to google for it and find them all very shallow information. This is not a try-and-error.
My company requires a Mirrored Server setup. I hope someone can direct me to the right solution which guarantees the least downtime.
- We have 20+ php/mysql websites. - We need two dedicated servers hosted in 2 different datacentres. - Users are directed to the first server. - If the first server is down the users are automatically directed to the 2nd server @ the 2nd datacentre. - The software/hardware which redirects the users need to be fail proof or have an instant backup which takes over incase that goes down too. - Data (databases and files) needs to be synced correctly to avoid data not being mirrored correctly.
I've done some reading and there is alot of mention of the DNS round and load balancers.
However, it seems these two options are also not fail proof.
Would appreciate if someone could simply outlining what system would be best for us for 100% uptime incase of server failure.
I run a site with about 1,000,000 unique visitors per month and recents server failures made me decide to get a failover server to minimize downtime. My goal wasn't to get 99.999% uptime but to be able to be back on track after a failure in a "reasonable" amount of time. After evaluating several solutions, I decided to go with DNS failover. Here's how the setup work:
1) mydomain.com points to main server with a very low TTL (time to live) 2) failover server replicates data from main server 3) when main server goes down, mydomain.com is changed to point to failover server
The drawback is the DNS propagation time since some DNS servers don't honor the TTL and there is some caching happening on the user's machine and browser. I looked for empirical data to gauge the extent of the problem but couldn't find any so I decided to setup my own experiment.
The Experiment ==============
I start with mydomain.com pointing to the main server with a TTL of 1800 seconds (1/2 hour). I then change it to point to the failover server which simply port forwards to the main server. On the main server, I periodically compute the percentage of requests coming from the failover server which gives me the percentage of people for which the DNS change has propagated.
I made the DNS change at exactly 16:04 on 06/21/06 and here are the percentage of propagated users:
So even after 18 hours, there is still a certain percentage of users going to the old server so DNS failover is obviously not a 99.999% uptime solution. However, since more than 90% of the users are propagated in the first hour, the solution works well enough for me.
I'm working on launching this online store for a poster designer, and we're becoming more and more aware that we need a really robust and fast server. This site is looking at extremely high levels of activity whenever this designer posts a new poster. We're talking 1700 people surfing the store (downloading med-high resolution poster images) and 300 posters sold in 16 seconds kind of thing.
So, we need a really robust hosting, to work with PHP5 and MYSQL.
My previous go-to hosting provider was Lunarpages, but their customer service has gone down the crapper, and I've just about had it with them. My main questions are: Should I be looking into getting a dedicated server, or are there hosting companies that can handle this kind of traffic on a shared server? I don't have experience administrating a server, so if we got a dedicated one we would have to pay the host to do at least some of the setup/administration, I would assume? Dedicated server or not, what's a hosting company that has really good customer service, where we can be assured of getting somebody knowledgeable without having to wait on hold for 20 (or even 10) minutes?
for a server-wide anti-spam solution I can implement on a Linux server. The mail queues are constantly getting backlogged with thousands of messages which bring the servers to a crawl. There are really two issues the solution needs to address.
1) Spam 2) Spam sent to other people that have the from address forged with our clients' email addresses.
We have spam assassin installed for individuals to use, but there's got to be some sort of solution that can clear out the vast majority of the junk before it even gets to the queue.
It probably goes without saying, but the solution needs to be open-source or have a very inexpensive license.
I was in the market for a new dedicated server after a couple of years with my previous provider. The previous provider did nothing wrong but they were no longer competitive when it came to CPU and memory.
I moved first to geekrack. And I left them after a week and a half as they never were able to get my rDNS records setup.
I found Universal Hosts on this forum and gave them a shot. I had asked for an operating system that they didn't offer normally (Debian 64 bit) and they said that they could do it. However, when my server was setup it was 32 bit Debian instead. They apologized and had Debian 64 bit setup less than 24 hours later.
When I asked them to get rDNS records setup it took a few hours but they were setup correctly and they worked.
Universal Hosts is also a BurstNet reseller but compared to my other attempt at using a BurstNet reseller they are fantastic. While the initial config was incorrect they worked quickly to fix it and were very professional about it.
So after two weeks - so far so good. Keep up the good work UniHosts!
I am running Apache2.2, PHP5.I have been running with virtual hosts on a Windows 7 environment fine for a couple of years successfully, but have just had to move to a Windows 8 environment.It looks like Apache and PHP have installed and are working fine, but my Virtual hosts are now not being recognised. From what I can tell, it is the Windows 8 hosts file that is having a problem, as it looks as though it is now just setup to Block websites.
If I make the host file just have the one line127.0.0.1 localhost entry, then the very first Virtual Host from my apache config file will come up, but the rest are not found.If I put the usual 127.0.0.1 mywebsite.name aliasname is appears as though my website works momentarily and then is blocked..
i use centos based server. yesterday everything was OK. but now, when i connect via SSH, my server can't resolve hosts. wget, ping, or curl don't work. also i use VNC to remote desktop. when try to open a page via firefox, it says server not found.
Recently I stumbled along a host on here with a good rep and that uses direct admin.
Because they were very nice on the live support I signed up to see what direct admin was like.
Its very diferent from cpanel. Some parts seem to be harder to use like the phpmyadmin requires the username and password to the database you created not the control panel username and password like cpanel. Although I guess that could be a good security feature just in case some one gets into the control panel they can not get into the phpmyadmin, then again if they are smart and were able to get into the control panel they could get into ftp and look what the username and password is on the config file for the script you are using.
The bandwidth meter seems to be better in direct admin although I think its acting up for me as its putting yesterdays bandwidth on todays. I was told by the host that it updates every 2 hours and at first it did but now its gone to every day. Oh and unlike cpanel this bandwidth meter includes bandwith used by the control panel.
Niether one from what I can tell counts sftp though at least for the hosts I have right now.
I have quite the story to tell. I have been denied service by three hosts within the past week for no particular reason.
I have been conducting business for over three years and have a US-registered legitimate business to run, and am in need of two dedicated servers of my specifications in multiserver configuration to meet my needs.
At all three of these hosts, I have chatted over live chat with the salesman getting me excited to venture with them, only to be let down and rejected service - as their own right, to refuse anyone for their service.
The first company was HiVelocity, the second was WiseDedi, and the third is BuzzServers. All companies had given me false hopes and promises - I actually put in a preorder at Buzz Servers for this upcoming Monday for two servers.
What's going on with this industry, and particularly, this forum? I've never had a problem with hosts in the past, or dedicated server hosting specifically. I'm moving, or looking to move to a new host, because I need a multiserver configuration - my current host could not configure it properly with DirectAdmin, and asked me to find another host to do this, and here I am, going back and forth between companies and getting rejected of service.
My company is not illegal nor does it represent any sort of threat, and has been online and established for years. I also pay on time via some sort of subscription, whether that be PayPal or 2Checkout, or even Google Checkout. I've never had a negative feedback, either.
I don't understand how or why this is happening, because now for the third time I've been denied by three hosts. Each and every have wasted my time by offering me their service and servers at the pricing I can afford ($350/mo), only to tell me later that the manager is denying my service.
What's going on with this industry?
Can anyone actually recommend me a solid, stable, established hosting company?
ALL of the hosts that have rejected me are brand new, unestablished, and incompetent from what I see - they reject my business. Surely I will be there to speak out against them, and for good services, I always write good reviews and testify for them.
Rob at HiVelocity banned me from their live chat support for asking about why my service was denied, and now Richard Anderson of Buzz Servers booted me from chat after I asked why as well with the answer "as a business we have the right to refuse.." - if it's not written on the website, that is not a right I believe as that is discrimination.
You'd think with someone with a good reputation like me, whose been around for years, I'd get a bit more respect than false hopes and promises, when I need a solution...now.
I have just FTP'd my code files onto my hosts server and i'm not sure whether i need the files in the root of the htdocs folder or whether i can leave them in my folder called website within htdocs...? the structure looks like this atm: htdocs->website->[all of my php files]
also... do i need an index.html file or is index.php ok? atm i am getting a 403 error when i try to connect,
Has anybody ever come across a server problem, where the file is visited (e.g. domain.com/sub/file.html or domain.com/sub/file2.php) it attempts to download the file automatically as apposed to displaying the page?
I current have a VPS hosted with a host who rent racks from Gyron.net at Telstra Londong Hosting Center Datacenter (Docklands) and im very satisfied with the network but im looking to change hosts, so im looking to find hosting companies that also rent racks/network from Gyron.net.
So does anyone knows hosting companies that rent space/racks/network from Gyron.net?
I'm trying to find a script of some kind that determines which domains (from a list on the box) no longer point to the server. I have to believe this exists somewhere, but with searching I'm coming up empty.
Plesk and cPanel are my targets. I could build it myself with some time, but honestly, I'm one of those guys that doesn't like to reinvent the wheel when it's already out there...even if as a paid script.
Hello, I've tried several companies and I almost gave up the search for what I need. Maybe someone here can help me find a hosting solution with these requirements: 1) A reseller account / Multi domains for different websites 2) ASP + .net + MS Access with mutli-lingual support 3) PHP 5 + MySQL 5 4) Allow Remote access to mysql thru port (not phpMyAdmin) 5) International Fast connection 6) 24/7 support 7) Location: US
We now have a WHM Vps and also a Dedicated for reselling VPS both located in the UK. At the moment our WHM Vps backs up to an 'Unlimited shared hosting package' but we're sure we're going to be kicked off sooner or later because were using about 50GB storage. We were wondring what everyone else uses to backup? Another disk attached to the server?
Offsite? And how you deal with the extra bandwidth a backup would use.
We now need a solution that can backup our new VPS server and our WHM server. It needs to be in the UK/EU to comply with data protection.