Using Php To "create" Balanced Static Hosting
Sep 7, 2008
My host [in USA] that I only use for php/mysql points to my static content CentOS server [in Japan] in my house connected to my CATV. At least for testing (outside my house) I can't notice any bad latency since my USA host just serves up small HTML code dynamically and the static content (up to 100k-500k per file) is already available inside Japan. I want to keep (and scale up, if needed) my php/mysql in USA due to language and other issues so I'm hoping (?) as the number of users goes up (or any other issues I can't think of now) latency does not become a problem just for the html. Any comment on that?
My next step to "create" balanced static hosting in Japan is to get two different VPS accounts here in Japan (on two different physical servers) and use php to randomly select which VPS will provide the static content when a user logs in. PHP will also test to make sure the static server is active. If it is down the code will direct to the other server. If my project grows I will - on the Japan side - get more VPSs or even multiple dedicated servers and use the php to manage this "balanced" system like I described.
View 7 Replies
ADVERTISEMENT
Apr 9, 2007
Recently two servers of mine have stopped communicating with each other and I've been told to create a static route between the two, I am using CentOS 4.4 and not sure what the exact syntax would be
I also have the gateway IP which would be needed.
View 1 Replies
View Related
May 14, 2007
I have come across a number of hosts who offer Load Balanced hosting. I know that load balancing has something to do with distributing the requests to a cluster of servers. Bu how does it actually work?
What happens if I host my website on load balance hosting provider? Will copies of my website be placed on different servers and the website will be served from the server with the least load?
View 14 Replies
View Related
Apr 4, 2009
I currently have an existing web hosting package with a web host. However, I need to supplement that with a file hosting service for my users.
I'm estimating that I will need about 2Gb disk space, and approximately 30~40Gb of traffic monthly. This will just be plain static file hosting. I don't need any scripts, databases, etc.
View 11 Replies
View Related
Oct 7, 2009
I'm configuring an VPS that's going to serve all static stuff and absolutely no dynamic scripts at all.
What could be the bottle necks with all these static content websites? Can a 256MB VPS handle a static website receiving millions of page views a month?
View 1 Replies
View Related
Nov 5, 2009
We recently began to mirror a large number of open source projects with a dedicated mirror server on our network and I was surprised not only with how popular the mirror server has become, is, but also of the ability of the hardware we're using to keep up with the load.
At an given time, the mirror seems to be pushing at least 50 Megabits of trafficthe server is also an IRC server (irc.igsobe.com) for customers and internal staff communications.
The hardware is a low end Dell Pentium 4 @ 2.66 GHZ server, running with 512MB of RAM and a 400 GB ATA hard drive. CentOS v5.3 is the operating system.
If you're interested, you can view the HTML logfile analysis here but that doesn't tell the full story as FTP users make up a good portion of the traffic. We've received over a quarter million hits in the first few days of November alone.
18:14:15 up 65 days, 9:04, 5 users, load average: 0.31, 0.69, 0.56
The only change that I made to the default configuration was lowering the maximum number of Apache servers to 128.
Just thought I'd share this information as I wouldn't have thought a server with such a small amount of RAM would be able to serve up so much data, even though we are talking strictly static HTML files.
I'll definitely keep this in mind when clients ask me for those "what type of dedicated server should I use for XXX" type discussions that are had all too often with clients.
View 0 Replies
View Related
Oct 1, 2008
Any hosting company providing load balancing in from of 2 VM'S on separate nodes?
Look for a low cost solution to run an ATOM server on 2 separate nodes. No need for web sites, control panels, etc.
Just Jetty or apache + atom + postgres.
View 1 Replies
View Related
Jun 15, 2007
Has anyone any experience of using Load Balanced Clustered VPS servers?
If so who would you rate the best provider?
View 1 Replies
View Related
Jun 16, 2007
I have set up a HA network.
Web Servers #1 and #2 have their own IPS, but share a dedicated load balanced IP via the H5 Load Balancer.
We have our domain name registered with Yahoo!
How do we point the domain name at Yahoo! to the load balanced IP?
View 3 Replies
View Related
Mar 31, 2008
We have setup and are currently testing a load balanced cluster using heartbeat and ldirectord. One of the problems we have come across is that we are unable to reliably use the same web server for connections from the same user. As a result the php sessions are getting in a bit of a muddle.
Obviously its not something that we can easily sync between servers like the customers other web content. We are looking at either storing the sessions in a database or NFS.
The site is pretty busy and we are a bit worried that when the site goes live both these options will slow everything down.
Apart from using different load balancing software is there any other solutions we could use for this? Has anyone stored php sessions in a database on a busy site or on a NFS?
View 3 Replies
View Related
May 29, 2007
I currently have one server a
Dual Xeon 5130 2GHZ (woodcrest)
2GB Ram.
Running cPanel/WHM
Now I run a website that is VERY PHP & MySQL Intensive and MySQL is ALWAYS the top of the process list, hogging a ton of usage. It's getting to the point where the site is needed a second server and I know there's a few options; but I'm not sure which one would be the best.
They way I see it my two options are getting a 2nd server and setting up the two to do load balancing, or getting a 2nd server and setting one up for just Apache and the Other for MySQL and using the 2nd as a remote SQL server.
If I do the Apache on a seperate server would I need such a powerful server? And if I also would want to upgrade this server along with getting a 2nd server would I be better of upgrading to 4GB of RAM or upgrading the processors?
View 9 Replies
View Related
Jan 30, 2007
One of our customer is looking to use wild card SSL on one of his site hosted with us, he needs clarification on following.
Quote:
We want to have load balanced site serving contents from three different Apache on different physical machines. Site needs SSL security and we will have wildcard SSL for it. However, since the CSR is generated from one apache, will the SSL certificate give errors or alerts if the request is transferred to other apache?.
This is something I am not aware of, infact no such need come thru.
View 3 Replies
View Related
Apr 21, 2009
I would like to create a website to a customer and provide domain/hosting with the package.
do I need to have a reseller account to do this?
I will charge him one time fee for the design which includes hosting.
do I need to tell him it's for one year after that you are on your own,...
View 7 Replies
View Related
Apr 9, 2008
I'm interested in purchasing the Vbulletin license and expect to have around 100 members within the first couple months and with a bit of advertising, I expect to have a 2-5 thousand within the end of the first year.
I don't know anything about the technical side of creating sites but does anyone have any advise about servers, maintaining the site, resolving issues etc?
View 14 Replies
View Related
Nov 2, 2008
How would I go about creating my own website for free forum hosting? You know, sites such as ProBoards and Forumer. A site where someone can fill in some information (name, URL, e-mail, etc.) and instantly have their own phpBB, IPB, or MyBB forum.
I could host it, but I don't understand how to make it so right when they click submit it creates them a forum. If someone could point me in the right direction or link me to a tutorial (which I doubt exists),
View 9 Replies
View Related
Aug 15, 2014
How can i create backup and restore per subscriptions or customer ?
View 1 Replies
View Related
Jan 4, 2014
I want to have this option on my homepage ! Is this posible whit plesk panel 11.5 or do we need to upgrade??
View 3 Replies
View Related
Feb 1, 2013
I have a server setup and running shared hosting perfectly. I duplicated one of the plans and just set it to DEDICATED IP. This is for users that will be requiring SSL.
I then went into my panel settings and added in all the additional ip's. It even says in the panel listing "6 dedicated ip's available".
Yet, when I try to re-run the task for provisioning it constantly fails with the message:
Unable to create hosting. Ip address does not exist in client's pool ....
View 3 Replies
View Related
Aug 7, 2008
Customer has requested the following:
"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!
I have never heard of this and have been unable to locate any information on it.
This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
how to go about this or even what this is?
View 2 Replies
View Related
Oct 29, 2007
Another similar kind of question
I want to run .asp pages on a windows server where i am currently running .HTML files (STATIC without any script or database). I want convert those .html pages to .asp (without any scripts).
So WHAT DO YOU THINK, that .html (static) should work exactly same like .asp (Static) ? Suppose .html pages DO NOT CREATE any issue with IIS load , so using same (basic html code) in .asp would create any issue with APPLICATION POOL (IIS)?
View 3 Replies
View Related
Jun 12, 2008
I just discovered that my Internet provider only provides me with a dynamic IP address because its not commercial!
Is there any way or workaround to sign up for a static ip on the web?
View 14 Replies
View Related
Oct 18, 2007
My ISP here in the UK does not provide static ip addresses. I'd like to be able to set my server to only accept root access attempts from a set IP.
I am aware of how to set this up on my server, but not on my own machine.
I'd appreciate if anyone recommend the best service to use when seeking a static IP address and also point me in the right direction of documentation that explains how to utilise this IP (connect through it so when connecting to my server it sees the static IP and not my dynamic ISP IP).
I've had a search on WHT and Google but most of the documentation I've encountered is for people who want to run a web server from their home machine and so want a static IP for incoming connections.
I am using a windows machine (xp pro).
View 3 Replies
View Related
Jul 2, 2006
i have a domain hosted at eNom which i would like to point to my FTP server which is running on my box at home. I have a static IP, and BulletProof FTP server installed. Now im just unclear how i can have www.mydomain.com point to 212.12.34.56:21.
View 3 Replies
View Related
Mar 21, 2007
this isn't my server, so I don't have a lot of information about it, other than it's a Linux/Apache Dedicated server at EV1. (cPanel/WHM)
There are other sites on the server, and they are running fine.
One site has a terrible lag. It takes about 10 seconds to serve up a static HTML file..
Now, it's not like the server is slow. It's like this: You request a small HTML file. The site sits and thinks about it for about 10 seconds, and then after that everything processes quickly.
The forum on the site is the same way. Everything you click on works fine and loads quickly after that initial delay passes.
Is there a common configuration problem that might be causing this?
If you want to see this phenomenon, here are a few test files:
[url]
[url]
[url]
[url]
View 7 Replies
View Related
Jan 5, 2007
Is there a difference between static IP's and dedicated IP addresses?
Also I'm in the Atlanta GA region, does anyone have any reccomendations on a bandwidth provider and avarage cost of static IP's?
View 6 Replies
View Related
May 18, 2007
I have a small network at my colo provider.
Colo Provider
|
My HP 2650
| |
server1 serverN
I want to setup static routes on my servers so that my colo provider won't bill me for traffic among my servers.
I use FreeBSD 6 on my servers. I read the FreeBSD handbook on this and it looks like i should do this:
route add -net 0.0.0/24 0.0.0.3
where 0.0.0/24 is the C class I have from my provider and 0.0.0.3 is the IP address of my server (one of them/any of them).
However, this route appears to already exist as i get this error when running that route command:
route: writing to routing socket: File exists
add net 0.0.0: gateway 0.0.0.3: route already in table
Do I need to use a non-routeable ip block (eg 192.168.x.x) for this? Can I use "real"/routeable ips? Does FreeBSD take care of this for me automatically?
View 5 Replies
View Related
Jan 13, 2009
i don't get why people can have more than one static ip...wouldn't you only need one?
View 14 Replies
View Related
Nov 19, 2008
I'm using XEN to setup my VPS. The installation have no problem for the first two server. On the 3rd server, I install using DHCP IP and it's ok.The problem is when I change the DHCP IP to static IP .
Using Centos 5.2, I'm using vi to edit /etc/sysconfig/network-scripts/ifcfg-eth0
and restart the network service network restart, the IP change, but outside or other static IP VPS network can't ping to this server.
I've tried to change the /etc/xen/the-host-config to include the IP . the results is still the same. Is there some script or way I can use to bridge this new 3rd server to the Xen host ant other network?
* I've restart the Xen server.
View 8 Replies
View Related