Best Config For Multiple Web Server
Jan 20, 2008What is the best and cost effective way to setup multiple web servers to talk to 1 data base server?
Hardware Load Balancing or software?
What is the best and cost effective way to setup multiple web servers to talk to 1 data base server?
Hardware Load Balancing or software?
I just want to use a server for file sharing, it will have nginx and that's it. I'm looking at centos, or freebsd, but I been using centos forever now and I'm not sure how to use freebsd, should I just stay with centos?
Do I tell my hosting provider to just install the OS and give me ssh action and that's it? Don't install any control panels or any other stuff? I want one domain and one subdomain on it though and ftp action.
Got a new box, Xeon 3060, 2GB memory, 2x250 SATA II drives. I have 1 mysql/php forum with about 60-70 users online and 1 multimedia download site.
the minimum configuration for Apache httpd.conf ? I just need a starting point to optimize.
i have just installed Config server firewall on a linux server
i need to enable some ports, how can i do that?
I am currently selling hosting from my reseller account. Planning to buy a dedicated server. I will be hosting around 250 hosting accounts with PHP and Mysql on a centos 5 OS with Cpanel. The 250 sites will be controlled by normal terms and conditions that comes with shared hosting. Now I am confused about the configuration to go for:
My Budget is around USD 200 per server.
Here is the config I thought to go for initially:
Xeon 3060 Dual Core
2 x 250 GB SATA II HDD
4 GB RAM
Cpanel/WHM
10 MBPS Port
Then I found this config for 20$ extra.XEON 3220 Dual Core
2 X 250 GB HDD
4 GB RAM
CPanel
10 MBPS Port
will 3060 is a good config or do you think should go for the 3220. Or should I save that extra 20$ and use them to get a hardware RAID 1 for 3060 server...?
I'm about to purchase a new Xeon dedicated server, however I'm unsure whether to opt for a RAID 1 configuration on the two 320GB SATA drives. Can this decrease performance in anyway or only increase? I run an extremely resource hungry site utilising audio/video en/decoding, running vBulletin so anything that might negatively affect performance could have a big impact.
Secondly, I'm unsure on whether to opt for CentOS 5 over 4.5. I'll be using cPanel of which I've heard there have been problems with the latest release of CentOS.
And finally, is it worth upgrading to Apache 2 and MySQL 5 (which I know is installed as default on CentOS 5)? The reason I ask is that I've heard of server load problems after upgrading to these latest versions on high traffic sites.
I'm having a very intermittent PHP error on my dual processor CPanel/CentOS 4x box. And it happens randomly across several domains, so I know it's not a single domain problem.
I can never figure out what causes it. 95% of the time the sites work fine (no error), but ever so often my php includes give me something like this:
PHP randomly fails to find the directory/file. And it requires an Apache restart to make it work smoothly again. It will be fine for a few days, but then it happens again. So I suppose it may not be directly related to PHP, but more of a server/apache issue? Any ideas at all?
after a number of hours I finally got myself an SSH connection to my Linux server. I created an account with bin/bash access, whatever that is, and got in. Phew, this is all new to me!
I can get to the ./configure prompt and all looks well when I type command --enable-magic-quotes but I refresh my phpinfo() and nothing has changed.
All I want to do is install Joomla!
My Joomla! installation tells me to action following: Set PHP magic_quotes_gpc setting to ON
Set RG_EMULATION setting to `ON` instead of `OFF` in file globals.php
Display Errors should be on
Register Globals Emulation should be off instead of on
It's also telling me that the var/lib/php/session is unwriteable. Do I need to get shell access and command to do that too?
Can anyone with previous exp. in Video Hosting/Streaming provide me some info on THE CONFIG AND BANDWIDTH REQUIREMENTS FOR ffmpeg hosting for youtube like site?
Here are the basic things-to-know & Server(s) Funtions:
1. Do Video Conversions from AVI, MKV, etc to FLV/MP4
2. Stream out these videos for viewers.
3. Expected Traffic: Quite High (1 Million Visitors/mo)
So can anyone suggest me the most suitable Server Config, Bandwidth (I'd prefer dedicated-unmetered b.w) and Host for this?
Also can anyone provide me info on the amount of video conversions and traffic a single server (with your recommended config) can handle?
I have a little problem configuring the mail server in Plesk 12. I bought a VPS with Plesk 12 is hosted in OVH.es just for learning. I've got an external domain in OVH.es from 1and1.co.uk. The domain is properly configured and all is working well but the mail server.In OVH.es manager I can't create emails for an external domains (it is not allowed), only redirections. This is how it is in the manager: .domain.com MX 1 Redirecciones redirect.ovh.net.Support OVH.es told me that I can configure within plesk 12. I suposse it is in zone DNS but I don't know how to do it.
View 1 Replies View RelatedI'm on plesk 12.0.18 and i would like to backup my server config. I have an error Logging::error('Available disk space () is less than required by storage bund...', 'fatal') called at /opt/psa/PMM/agents/shared/Storage/Storage.pm line 523
[URL] ....
the function un cat /usr/local/psa/PMM/agents/shared/HelpFuncs.pm is like that
Code:
sub getMountSpace {
my $mount = shift;
my $df = qx( df -P -k $mount) or die $!;
while ( $df =~ /^(S+)s+(d+)s+(d+)s+(d+)s+(d+\%)s+(S+)$/gm ) {
[Code]...
We've unchecked the disk space verification in backup settings with no more results ...
is it a way to launch the function reserveSpace and/or getMountSpace helper in shell ? to see the returned value ?
or can i launch /usr/local/psa/bin/pleskbackup server -c comand line to backup only the config ?
I have plesk11.5 and found a big security bug in my script because plesk11 do a strange behavior:
[REMOTE_ADDR] => 95.*.*.*
[SERVER_PORT] => 80
[SERVER_ADDR] => 91.*.*.*
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => Apache
[REMOTE_ADDR] => 2003:67:4b4b:*
[SERVER_PORT] => 80
[SERVER_ADDR] => 127.0.0.1
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => ApacheClick to expand...
I have a 2003 SBS server with about 50 users on exchange. It is a standalone DC - all the users connect with 'profiles' and 'docs' on the server and use exchange thru outlook..when they leave the office they VPN in and exchange works like a charm.
Problem is for a quick setup I've used the POP 3 connector and kept the emails hosted on my server - I want to get rid of the POP3 connector setup altogether and have mail delivered directly to the server.
Can someone give me a walk thru of steps to do this - so far I have fgured out that I have to add the domain to the recipient policy - configure it properly and then setup each user to receive email for that username and it will just work....
I want to be sure and was hoping that someone who has done the same thing could point me to an accurate tutorial of sorts.
On a rhel 5.3 + cpanel server, i have a time problem.
Web apps, as joomla show articles with a -2 hours time difference, or even webmail clients like roundcube are showing a wrong time when an email arrives. It seems this apps are not picking up the server time.
Both things (joomla and webmail) should use the configured server time.
I know Joomla can be fixed using the time zone option, and webmail too.. but in a server with over 300 websites, there are many joomlas installations and even more mailboxes...
/etc/sysconfig/clock have the right time zone.
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...
I'm running a message board and it looks like I've outgrown the low end xeon 3040 1.86GHz dual core server, and the bulk of the CPU load is going to mysqld. I'm debating between offloading the DB to a dedicated server vs upgrading the existing server and hosting the web server and db on the same machine.
Any thoughts on the better approach? fwiw, the load from apache seems next to nothing right now, but I am also planning on adding an SMTP server for user registrations and general support email.
I'm also not super familiar with dual-core and dual processor machines. Does shifting mysql to a dual core or dual proc machine help (vs a single core/single proc machine)? since there is just one mysql daemon, does having a second core or proc. buy me anything?
I am trying to do something that I believe is fairly non-standard. What I am looking to do is create a system where I can rapidly deploy web sites without having to restart named and Apache. For example, if a customer completes a process, I want to be able to turn that site on immediately using a temporary domain (somecompany.example.com or othercompany.example.com).
With some programming language (hopefully PHP) I would like to get the customer up and running with their site immediately without having to restart the server. While doing some research I found I could use MyDNS which uses MySQL to manage DNS data instead of configuration files. MyDNS can be updated on the fly.
For Apache I have seen wildcard configurations, but everyone seems to be suggesting the use of mod rewrite. I would prefer that the domain maps directly to a specific folder:
somecompany.example.com -> /sites/somecompany/htdocs
(*.example.com -> /sites/*/htdocs)
Does anyone know how I might do this with Apache. It seems similar to user directories (example.com/~username -> /home/*/htdocs)
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?
Remote Spamassassin for Multiple Smartermail Server
I want to setup Remote Spamassassin(On Linux) for Multiple Smartermail servers. I want to the setup the spamassassin on a linux box
How i can setup this with multiple smartermail servers.
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?
View 1 Replies View RelatedI 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.
View 8 Replies View RelatedI currently own a few web hosting company's.
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 ..
we have one dev server that is hosting a website. I would like to use the same server to host another internal website. Can i do that?
I am using Linux centos OS.
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.
View 8 Replies View RelatedDue to some of my projects I am looking for a good Dedicated server hosting provider who can offer Muliples IP addressess from different IP Pools.
View 14 Replies View RelatedI 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...
Mutiple ips for multiple domains on same server?
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?