We're running multiple cPanel-based Linux boxes now, and are looking for a simple way to distribute our basic system files across all boxes. No important low-level files, just the basic cron job bash scripts we run on all servers etc. This would also be a help for syncing these shared files across to new boxes we bring online.
Does anybody have any recommendations for a simple file distribution system for this purpose? Ideally it would run as a cron job rsyncing the files across.
It may just be easier for us to write our own script for the purpose, but thought I should ask if there was anything off the shelf
the subject pretty much sums it up, is there a method or solution for multiple websites (whic reside on the same dedicated server) to share just one .htpasswd, or automate the mirroring of said .htpasswd file?
if so any suggestions for methodology or products that would facilitate this action would be most welcome, thx in advance friends..!
What's the best setup for me to have for a machine which will host web files that other servers have to read and serve to end users on the web?
For example, I have servers Web1 and Web2 serving the same content from Files1.
I assume it's best just to go with RAID 10 and be safe or?
More importantly for me, what's the best way for these systems to communicate? I.e.
what protocol should be used for the web servers to read the files from the file server?
I once used SSHFS for serving the same static files on a couple of machines from one location... but that's presumabely very slow (at the time wasn't a problem).
I've been searching for the best way to copy a file, say .htaccess, to multiple users dir, tried "cp -f .htaccess /home/*/public_html" but received an error "omitting dir /home...."
in my server there is an issue where a lot of users simply chmod their directories to 0777 and its not easy for me to modified them back or ask them to change it back.
so anyone knows how can i search server via ssh to grep folder with permission 0777 and then automatically chmod these folders to 0755 ?
i think its possible to complete the above task with 1 command but not sure how.
I've installed Xen 4 on one of my servers and was wondering which would be the best distribution to use? I will be installing cPanel on this and while I know cPanel works best with CentOS 4.5 32-bit, would there be anything else tht might work better/faster as a VM under Xen? Maybe 64-bit for Hardware Assisted Virtualization?
What we are panning on doing is piping directly out of the fuse panel down to the raised floor. Inside the floor there will be flexible romex that feeds up into the racks. Once fed into the racks it is then piped into junction boxes which are attached to a piece of unistrut. There will be a ton of outlets so each server has two outlets, one of course being for backup.
Does anyone see anything wrong with this? What about UL 60950-1 standards?
Would anyone have any ideas which Linux distribution can be updated the easiest, as in 2 years later, I can run a command or something that will bring it up to the most recent release without having to be fully reinstalled. I will be working with Xen soon, and I know that is more friendly for that type of thing than something like OpenVZ or Virtuozzo could be. I say this after seeing the 2 releases per year idea that Fedora seems to think is fun, and how much work it has been for people to keep up to date. For hosting, its hard to deal with uprooting every so often and migrating to a new system just to keep up to date. I would love to hear some perspectives on this from anyone experienced in this area.
I recently read someone's blog post about surviving the front page of Digg on a budget. One tip involved using the Coral Content Distribution Network (AKA Coral Cache). The author provided .htaccess snippets for re-directing your traffic through this service.
Has anyone on these forums had experience using Coral Cache as an emergency availability measure? How did it work? Any drawbacks to report? A search turned up a few threads that mentioned Coral Cache, but none that specifically covered pros and cons.
I have two domains as virtual hosts on same IP address.
I am getting certificate error for the second domain when I try to check email (using MS Outlook). I can't permanently "accept" certificate, it complains again and again. Certuficate I created and self signed for imap.domain1.com, but the second email server is imap.domain2.com, so it complains.
How do I set separate email certificates for two domains? Is it possible at all?
Depending on where u are at on my site (documents pages, training, main root, etc.) will depend on which type of background, footer, header and the like you'll get. Now I was thinking. Is there a way to have multiple error messages for more then one page depending on where you are at on a site? Right now it's intranet site and a modded snitz forum. What is the code and were does it go and in which apache conf file(s) does it go in?
I have 1 server so I setup dns as ns1.mydomain.com, ns2.mydomain.com ip address pointed to server1. So, now I just bought another server. Can I setup ns2.mydomain.com pointed to 2nd server. Also how to setup more servers ie. 10, 20 server because I can only set up to 6 dns in one domain name.
Where i seem to be having trouble is that i have allways used Reseller accounts to run my business. But recently this month i have purchased My own Servers. I currently Own 9 Servers in total. So when it comes to Actual Server Managment im running into a brick wall lol
One of my business's invlolves Free web hosting. And and I have been using one server for the free web hosting clients.
The problem is that sigle server is Maxed out I cannot add any more accounts to it withought jeperdising its stability.
This service Not only inlcudes Free domain hosting but sub domain hosting as well.
So now that you know a little background on what im doing heres the question
We use Client Exec as our billing and Auto Account Creation and we know its possible to Add multiple server to Client Exec and we can tell it to creat new accounts on anouther server But what hapends when someone wants a subdomain?
Its my understanding that subdomains can only reside on the server that the actual domain is being hosted. Is this right ? or is there a way to creat subdomains of a .com on anouther server where is not located...
Also i was wondering if it was possible to join servers together in one whm? So under Ip Adresses we could just specify a new Ip & server would this work ?
I really need help fast since i get an average of 90 sighnups a day. and im sorry if theres a simple solution to this.. Im just new to actually owning my own hardware instead of using someone elses.
to me it just doesnt make any sence and i know it needs to be possible somehow ..
I have an exchange server with the webmin interface activated. I have port 80 forwarded on the router to this server for the webmin. Management wants to upgrade data service and move website server in-house.
So this is how I'll need to set up 2 websites on two servers for the same IP.
Server 1: Windows. accepts domain mail.domain.com
Server 2: Linux. accepts www.domain.com
I'm figuring I'll need to make changes at the router level, and I have a decent cisco router. What do I need to do? Point me in the right direction for googling.
Would it be easier to use 2 IPs? Both would come over the same line, how would I handle that on the router level?
i currnetly use no-ip to host my website from my home server, with windows server 2003. I was wondering if I could use two hosts at once. If so, can you recommend some free ones, subdomains are ok.
I have one server right now and will be adding a second server in the next 4-5 months. In the meantime I've upgraded the coding in my community site to act as if there is already two servers. Mainsite.com has all the php files, and a separate HD for mysql db only, [url] has all the user images and videos.
This problem I'm having right now is the permission to delete files from [url]via [url]
What I've Tried:
vsFTPd - it has a small footprint but its not reliable, needed to be restarted a few times while testing on the beta site.
usermod - this is messy, changing chmods, owners, grps... etc I tried all of that but still had problems getting the Mainsite to be part of the group without having to change all the chmods and grps.
NFS mount - haven't tried yet...
Does anyone run a multiple server site? My sites pretty big been around for 4yrs, and i've upgraded servers 3 times since then.
If i can't get this to work right my final option would be to continue to upgrade to a new server each year, everytime a bigger and faster server setup becomes available.
Current server Dual Xeon 5310 4gb, 3 x 146gb scsi/sas. The server is doing fine with this setup. But with the new site uprade and features it's going to top things out. I can keep throwing ram on the server and move mysql off site.
The site has little over 1mil users with about 60-70% of them being active daily...
I have 3 ips to be used, I have used 2 for the nameserver in registrar.
I have total of 3 ips, which means, I have to place my domains via dns template to the server. Actually, I have set all my domains to a single ip, leaving the 2 ip's which I used for the nameserver to be empty (doin nothin :p)
SO, can I use 3 ips, for the 3 sites, ip1 for site1, ip2 for site2, and ip3 for site3 ? Will this make any difference in the site load and time?
I am sure they have to b set up with dns templates which I can do Wanted to know what would be the end result of my query
We require a server with 10+ IP addresses (Each one with a separate OS and external IP Address, i.e myip.dk)
This is to be used as an added security level for our employees logging into our system from outside the office. Our system monitors the IP Address and we need to restrict access to certain items depending on the IP. We basically would like to set up multiple VPS on one server.
Can you confirm how this would work?I know we can buy a Windows VPS for around £15, but we need multiple of these (10-20)and figure our own server might be the way forward.
There are lots of hosts who can give you IPs on different blocks. You should easily be able to find one hosting account that can do this. Of course, you'll need to get a low-end dedicated or colo server to do that, but the IP address thing is no big deal. With the money you would be spending, you're well within the range of a low-end dedicated anyway.
Hi Eric,
I know this thread is old BUT...
This comment interests me a lot, and I hope that somebody can clarify for me that does 50 IPs on one dedicated server require multiple routers (like 2x IPs per router?) to manage all of the IP's communicating with the dedicated server?
Our dedicated server runs our virtual machines for us and the NAT option is terrible...the virtual machines work REALLY well when they use a Bridged connection. The problem is that our virtual machines have to acquire an IP address somehow, and the hosting provider we currently use says they only give one IP address to our server which is fine if the NAT within the software worked really well...is there a webhost that can provide a setup where they have a router hooked to our dedicated server so if we need more local IP's they can be given/assigned by the router. This would then allow us to run our virtual machines much better. Does anybody know of a dedicated server host that will do this?