This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Tomcat and the fly likes what is Virtual Hosting? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "what is Virtual Hosting?" Watch "what is Virtual Hosting?" New topic
Author

what is Virtual Hosting?

subodh gupta
Ranch Hand

Joined: Jul 23, 2007
Posts: 203
what is Virtual Hosting?

when it is required?


http://subodh-gupta.blogspot.com
Roger F. Gay
Ranch Hand

Joined: Feb 16, 2007
Posts: 367
http://en.wikipedia.org/wiki/Virtual_hosting


Correlation does not prove causality.
subodh gupta
Ranch Hand

Joined: Jul 23, 2007
Posts: 203
Thanks Mr. Gay very nice article but one thing not sure why any one wanna do it i means why is it required?

One use come to my mind is www.xxx.com and www.xxx.co.yy redirected to same site.

Is their other benefits to this expercise?
Vivek Chopra
Author
Greenhorn

Joined: Sep 18, 2000
Posts: 14
Subodh,

One typical use case for virtual hosting is when you use hosting services run by ISPs.

Many small businesses do not need, or cannot afford, the cost of running a Web site hosted on a dedicated server or a cluster of servers, and hiring IT engineers to maintain them. Therefore they go for 'shared' hosting plans at ISPs, and these ISPs run multiple Web sites on a single server machine- or even on the same web server instance. Running of more than one Web site on one server is called virtual hosting. As you would have seen from the Wikipedia link, these can be implemented in two ways- IP or name based; each with its own advantages and disadvantages.

Thanks,

- Vivek


Vivek Chopra<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0471753610/soapsimpleobject/" target="_blank" rel="nofollow">Professional Apache Tomcat 6</a>
subodh gupta
Ranch Hand

Joined: Jul 23, 2007
Posts: 203
Thanks vivek,

And welcome to JavaRanch.

But is it also possible to run the same site with differnet names on the same instance of the server?

Is yes is this also the virtual hosting or something else?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is Virtual Hosting?