Apache :: Multiple Servers On Single Linux Box Redhat
Nov 5, 2014
I need to configure multiple Apache Web Servers on redhat server. I have copied and extracted Apache 2.2 into redhat server and extracted but not able to install because I don't understand setting prefix. Please let me explain about prefix configuration and how to set it. At the same time I would like to know is it possible to setup 4 Apache Web Servers on same machine if possible then how to. Can we set up different versions of Apache HTTP Servers?
I have been very interested in Mosso for quite some time, though Cloud Sites didn't seem quite right for what I needed with the compute cycles they had. However, their fairly new Cloud Sites looks very interesting, and their sales people at least will have me believe load balancing with several server instances will be superior to my current dedicated server.
Right now I have a server with Liquid Web that costs me $424/mo and 4x Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz with 4GB of RAM. The average load on the server is anywhere from 30% at low times to 70-80% at peak times and memory usage is usually 20-50%. On average there are about 1000 mysql queries per second as the site is very ajax-intensive (hence Cloud Sites being way too expensive).
I don't really know the difference and technical side of all of this, I just program and do the business side of things, but I really like what Mosso has and am wondering if I would get a performance boost going with their Cloud Servers (Going with something like 8 server instances at 512mb RAM each @ only around $200/mo including bandwidth). Also, would I want to load balance all 8, or do something like 4 running the mysql and the other 4 serving the actual site?
I have hired two servers for plesk and I have the mail configured in one server and the website in another one, it all seems to work fine except for a problem.
When the server where the website is tries to send a message through a smtp account it canĀ“t send it, it seems to be looking for the mail server in the same server where the website is instead of look for it in the other server.
I have three sites running on three separate servers behind a single router with DDWRT. One of the servers is a Windows 2003 server that I have DNS running on.
Each domain name points to my public static IP address.
My router is set to use the windows 2003 server as the DNS server.
I have port 80 forwarding to the windows 2003 server.
I can access the sharepoint site that is on the 2003 server from outside my network and within it without any problems.
When I try to access one of the other two sites from outside the network, i get a 400 error. When I try to access the same sites from within the network, they work fine.
I am starting a small template based company. How many unique websites in their own unique folder can I host on a single server?
These websites would not get many hits, maybe a few hundread to a few thousand a month per site. My goal is to minimize the number of accounts I will have to open up with a web service provider.
Should I purchase 1 package per site or is there a way to get around this. Each unique site would have its own unique domain.
I'm about to the point where I am ready to host my website. I already have a domain but no hosting plan. In the future I may want to have several different websites each with their own unique domain. I was wondering if I choose a hosting plan for one site, can I use the unused web space for additional domains/websites?
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 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?
Our web server encounter a problem lately, that an IP address in India repetitively sent requests that uses up all connections available in Apache. All connections appear to be in W state. The connections are not terminated by Apache even though timeout has been set to lower 30 seconds. Similarly, MySQL connections also are not dropped until Apache is restarted.
We want to implementing the load balancing for our domain, if the traffic is heavy and 8080 (i.e. currently integrated with apache) doesn''t serve more that time the apache will call 8081 and serve to the request without any problem.
We want to access our site www.domain.com (i.e. run on port 80). Please guide us it is possible or not?
I already have PHP 4 installed on my server and now i want to install php5 on same apache instance but different port.I want to configure the system so that on one port php4 runa dn on second port PHP5 run.
I am currently running Apache on Ubuntu 14.04. I tried adding an alias, but it doesn't do exactly what I need. I have a single site and I need to point two domain names to it. The thing is, if someone types in www.site1.com I want it to show the url as www.site1.com and if someone types in www.site2.com I want it to continue to show www.site2.com in the URL. Right now if they type in www.site1.com it shows the first site name as the URL, but if they type in www.site2.com it changes the URL to www.site1.com. Below is what I have as my virtual host in my conf file currently.
Source site is very chaotic (static pages + wp pages) and there are no clear rule for redirection (no regex ).So I need to redirect every single page but syntax:
Redirect 301 esp.site.com/oldpage http:// es.site.com/newpage doesn't work!I think "esp.site.com" in source page is not acceptable syntax..which is the correct syntax ? Can I manage all from one .htaccess file in main root (www) or should I create "esp" directory (and point old subdomain to it - one for every language) and put .htaccess in every directory with redirection ?
I have one valid commercial Comodo certificate. It is correctly installed and works fine on my 443 port when I go to https://www.domain1.com
However, I have quite a few other virtual hosts that also work fine on my port 80 when I go to http://www.domain2.com then http://www.domain3.com and so on.
Now out of curiosity I have typed https://www.domain2.com and it picked up the SSL certificate from my first domain1.com when it wasn't supposed to (I guess)! It reported an error but worked! Then I tried all my other domains 3,4,5 and so on and the issue repeated.
How do I keep this single certificate to the only domain name it belongs to? It has no wild cards and is valid for only one domain name I bought it for. The example of my hosts' configuration is below:
<VirtualHost *:80> DocumentRoot "/directory/home/place" ServerName domain1.com <Directory "/directory/home/place"> allow from all Options +Indexes </Directory> ServerAlias www.doamin1.com </VirtualHost>
I have diesel generator controller card (IB Lite made by Comap) and the built-in webserver supports only a single user/session connected.
I want to set apache in front and serve multiple connection while apache is keeping a single session with the IB Lite card in background no matter how sessions it have.
I tried ProxyPass but it doesn't seems to be a solution.
Each Virtual Host redirect to the same folder and same file because everything is in the same project so same entry point (same index.php)
actually if I type each url in a browser, they all redirect to the same part of my project so I added some routes in ZF2 to access to one website and not another :
We are using 4 apache and 8 weblogic.When little high load is coming on application (say 300 users), we are getting non-http response code (Non HTTP response code: org.apache.http.conn.HttpHostConnectException).And also all the load is generated from one single IP address.And we are using apache 2.2.
I currently have 2 web servers both running the cPanel Control Panel.
Out of the two servers only one is used and the other is just used currently to test scripts. It has come to a stage with the website capacity that I now require both servers to run in con-junction with each other to spread the load.
Questions:
1) There is a file upload service, How would you go about networking both the servers to allow remote removal / uploading of files to different servers. Eg, If user is on server 1 and files are stored on server 2. Also deletion of files etc - The website is programmed mainly in PHP.
2) File updating - The website is constantly being updated and therefore both servers will need the PHP files to be in sync. How would you go about doing this?
Both servers are at the same Data Center location.
We are looking for KVM/IP solution for multiple server. Where we can add the users remotely and give temporary access to the server owners. Once they are done we remove them from access list. So it can be used by someone else.
Anyone know for KVM/IP solution with kvm switch which can solve our purpose of KVM.
I currently have two servers, one is rhel 5 with cpanel, the other is windows 2003 with plesk 8.4
Each server wants you to setup a Hostname... one that is FQDN but not being hosted on that server so I setup a generic dns domain as follows...
SERVERCODNS.COM
Now for the hostname I setup both servers to be use this domain but different prefix... so...
SERVER1.SERVERCODNS.COM SERVER2.SERVERCODNS.COM
Is this ok? Will I have problems?
My cpanel continues sending me emails nightly that my DNS is routing to another ip?
which bring sup my next question... Is is ok to NS1.SERVERCODNS.COM, NS2.SERVERCODNS.COM for say the RHEL server and then DNS1.SERVERCODNS.COM and DNS2.SERVERCODNS.COM for say the windows? Is this going to cause problems?
Whats the difference or proper procedure for setting up DNS with my registrar (*ENOM) vs in the control panels they have Nameserver tools?
Has anyway come up with a way to have several servers connected to one external CD-ROM on a USB Hub/network? This could allow a few external CD-DRIVES to handle a whole rack and the possibility of setting the bios via KVM/IP on a server to boot from CD, then it would boot from the CD tied in on the USB "network". Maybe using a USB hub? Or would this cause possible security issues having multiple servers tied in via USB ports?
I would love to have the ability to have maybe 3 or 4 CD-ROMs tied into multiple servers for OS installs remotely without having to actually go into the DC for this. You could put the CD-ROMs on your APC reboot and just turn on the one you need and set the bios to boot from CD (ie: one drive could have CentOS, one could have Windows, etc) I'd be interested in some ways people have done this or what they use.
I have a firebox firewall and two servers. I don't one machine to see the other one the network. The servers are for two different clients. However I would like to be able to access a backup folder on Server 2 from Server 1. What is the best setup for this?
I have a firebox firewall and two servers. I don't one machine to see the other one the network. The servers are for two different clients. However I would like to be able to access a backup folder on Server 2 from Server 1. What is the best setup for this?