Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have one VPS server with

40GB hard drive
centos 5
two IP address

Is there any limit on number of website i can host on it. I am currently hosting 20 sites . All using one IP.

Other ip is free.

Why i need more ip adress. I am hosting all sites under one IP. Is that can be problem

Any limit or drawbacks of hosting sites one one IP

share|improve this question
up vote 2 down vote accepted
  • you need more IP addresses to do things that can not be done in one IP address. Examples are FTP, or HTTPS (as most web servers require a separate IP address for every distinct SSL end point for technical reasons. Besides that there is no drawback and hosting multiple sites on one IP is required per IP distribution guidelines. Try getting one IP per site and they (the IP registry) will laugh about you for years to come for making such a request.

  • Besides that, the amount of sites you can host depends on the sites. How much memory they need, how much processing power they need, how much space they need - all that will run out at one point and then you need a larger system. THat simple. The number can go even below 1 - many sites use a cluster of servers to acutally publish them as one server is not fast enough.

share|improve this answer
That SSL limitation is not applicable to modern configurations. See:… – Warner Jun 15 '10 at 13:30
Your answer was wrong there, it is wrong here, too. Wildcard or SAN/UCC certs are pretty often not the solution. Especially not in a general term. SNI is not available in most configurations, whether you call them modern or not. It is not supported by IIS and by many (linux) hosts, too. Ask them about TLS and you get empty looks ;) Sorry, reality sometimes sucks. It is a nice technical solution, though, once it actually IS feasible. – TomTom Jun 15 '10 at 13:56

The only constraints are on your disk space, memory, bandwidth, etc.

You can host any number of sites under a single IP address unless you also intend to provide other services or SSL-based web services. SSL in the most common configuration requires a unique IP address per certificate. It is possible to share a single certificate across any number of hostnames, but this means you'd have to get them all in place first.

Some things are expected to use a single TCP or UDP port and so to use the same port with more than one name (and keep them distinct) you may need to keep them on different addresses. A common example is FTP.

share|improve this answer
Most FTP servers let you have virtual users, so you can open up one ftp server, and redirect any number of users to different root directories (so they can't see each other either). Also, you can do multiple SSL sites per IP address, but you have to use wildcard certificates, and they'll have to share a 2nd level domain name. – Jason Jun 15 '10 at 12:33
That SSL limitation is not applicable to modern configurations. See:… – Warner Jun 15 '10 at 13:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.