Webhosting solutions
Hi everybody,
I have a few questions about a small web hosting business. It is my intention to build a good web hosting solution but I have doubts about it. First, the load balancing solution: Which would be the best load balancing solution? Layer 4 (LVS) or Layer 7 (haproxy) or a combination of those above? Second, the DNS part: I know the basic thing about DNS but I don't finish to understand how would a new client can register his new DNS and that register would be published to the internet world!. How the companies do that?. Because I could have a DNS server and make a new register into it. And my DNS server can forward to the outside world but how the outside or internet could know my new registry?. It's a little difficult to explain my doubts.. for example. Imaging that my DNS server is www.example.com, and my client wants to register a knew dns for his company www.foo.com. I may register his company in my DNS but.. and this is my doubt.. HOW THE INTERNET WORLD WOULD KNOW?... Third and Last one is, The software for clients. there are many of them. what is your opinion about ISPConfig v3?... Hope Anyone can answer... and thanks!!! |
Virtual Hosting sounds like the answer you're looking for.
http://en.wikipedia.org/wiki/Virtual_hosting |
Well in general I would caution anyone from starting a company where they did not have an existing in-depth understanding. I've put some words in bold that you should be able to search for more information.
First let me suggest that you shouldn't really have to worry about load-balancing if you are serving small to medium sized business web sites. One Apache server should be able to handle many websites by using virtual host. You just need a plan for what to do if one of those sites starts getting way to much traffic. For a small web host you could redirect a website to different (or multiple) servers using DNS. Its possible to put the TTLs down to 15 minutes on domains you run so you can move things quickly. My suggestion for DNS that you are directly running on your DNS severs should look like this; Code:
@ IN A 1.1.1.1 Code:
@ IN A 1.1.1.1 Code:
[reachus@**** ~]$ dig +trace www.linuxquestions.org OR Your customers could control and manage their own DNS pointing to the IP address(es) of the web servers you want to use for their site(s). For more information; http://en.wikipedia.org/wiki/Domain_name_registrar Just remember that you need to keep a very close eye on usage (CPU, MEMORY, BANDWIDTH, and DISK SPACE just to name a few.) You need to be able to predict when you are going to run out... so you need to know how much a new customer is going to use and how fast existing customers are growing. I would recommend you find a way to graph this information and make sure you look at it AT LEAST once a week and ensure that it alarms if it goes past a thresh hold that is before everything comes crumbling down. Two servers in two different locations both running BIND and APACHE should get you near to ready. Some other thoughts; You need to make sure that any changes to the websites happen on both servers maybe use RSYNC? You need to monitor the capacity it may be worth paying some one to do it for a small number of servers. As far as the software for the clients... ask your potential clients, they may not give you the names of software packages but you need to have some requirements. Hope this help you! |
All times are GMT -5. The time now is 08:26 PM. |