Results 1 to 7 of 7
  1. #1

    Can I do this with minimal hosting hardware?


    my mision is to implement very small hosting infrastructure environment but the number of user is quite a big, about 500-1000 users. Each of them will have website, mail, ftp, dns. I only have 3 workstation (32 bit) and plan the scheme like this:


    I think the squid will act as Reverse Proxy for both server (I have only 1 static IP) and Cache server for HTTP content.

    I understand that this environment in usual way can not handle the load and easily can crash on peek times.

    My question is how can I optimize this scheme. I mean what software packages can help me? So:

    1. Squid will help with reduce Apache load. Correct? But is it affect SEO? I read that module_rewrite not works.
    2. What to do with Mail, FTP, DNS, especialy with MySQL? I think the only technic possibly is caching or load balancing. But what packages I need install and can they help increasingly remove load in this situation.


  2. #2
    Join Date
    Jan 2008
    Chicago, IL
    0) are you trying to host from home (1 static ip).. if so, that's gonna be a problem..

    1) it can in certain setups, such as load balancing.. but it doesn't sound liikr that's your case, so no.

    2) you can't really host 2 webservers on one public ip. You definitely can't run mail that way.

    Why not ask your dc for an extra ip?

    Edit: you technically can make the situation work, but not in any kind of way that makes sense, and it would be very custom and backasswards.. second ip ftw.
    Last edited by dot_txt; 04-08-2011 at 11:58 AM.

  3. #3
    Join Date
    Apr 2011
    Riga, Latvia
    Why would IP addresses matter if he wants a cluster with a loadbalancer. The loadbalancer will choose which internal server to use. However making such system would be somewhat tricky, especially on the database part. I would even advise you against doing such setup without deeper understanding of fow everything works there.

    For a novice the best would be service separation between the boxes - for example, one box for http/php/ftp, second for sql and third for everything else. I think some control panels even allow setups like this to be made automatically, but I am not sure about that...

  4. #4
    Join Date
    Aug 2009
    Orlando, FL
    This would be a little easier if you could at least get something like a /29

  5. #5
    Join Date
    Jan 2008
    Chicago, IL

    The reverse proxy would work for HTTP requests (load balancing), but for mail (smtp and such) you would need 2 public IP's for the 2 different servers, unless you are hosting the domains on both servers and have data replication (files, database, email, zone files) set up between the 2 systems so it wouldn't matter which server got the connection upon each smtp, pop3, dns connection since they are identical systems.. If that is the OP's intention, yea it's possible to set up a system like that, just will need custom configuration on just about every service..

  6. #6
    Thanks everyone who answered, situation is more clear right now.

  7. #7
    Squid isn't going to help much except in certain special situations, and in most cases is more trouble than it's worth. Nginx can be helpful as a reverse proxy to apache to reduce apache slot usage and therefore reduce memory usage, but the caching features are usually not helpful in a typical website configuration.
    Phoenix Dedicated Servers --
    Email: sales [at]
    Skype: iofloodsales
    Backup Storage VPS --

Similar Threads

  1. Monetizing a hosting site with minimal headache?
    By Atarim in forum Running a Web Hosting Business
    Replies: 6
    Last Post: 03-15-2010, 07:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts