Virtual Host

A virtual host is a configuration enabling a single host machine to resemble multiple host machines. It consists of a host alias or aliases, which consist of a host name and a port number. If you specify an asterisk (*) as a host name, all host names and IP addresses that the Web server can receive will be mapped to that virtual host.
There are two virtual hosts defined during installation: default_host and admin_host.

    
  • The default_host virtual host is intended for access to user applications, either through the HTTP transport or through a Web server. At installation time, it is configured as the default virtual host for the server1 application server. It is configured to match requests to ports 80, 9080, and 9443 for any host name.

  • The admin_host virtual host is used for access to the WebSphere administrative console. It is configured to match requests to the secure ports 9090 (HTTP transport) and 9043 (Web server) for any host name.

  • The proxy_host virtual host includes default port definitions, port 80 and 443, which are typically initialized as part of the proxy server initialization. Use this proxy host as appropriate with routing rules associated with the proxy server.


When you install an application, you associate a virtual host with each Web module in the application. By associating a virtual host with a Web module, requests that match the host aliases for the virtual host should be processed by servlets/JSPs in this Web module. The Web server plug-in also checks the URI of the request against the URIs for the Web module to determine whether the Web module can handle them or not.

A single virtual host can be associated with multiple Web modules unless each application has unique URIs. If there are same URIs among applications, different virtual hosts must be created and associated with each of the applications.

11 comments:

Unknown said...

Check out Go4hosting to experience best VPS hosting services at an affordable price.

adampiterson26 said...
This comment has been removed by the author.
Unknown said...

Thanks for sharing this incredible and unique content. This would help many like me in getting the Fatcow hosting

Unknown said...

A virtual host is a configuration enabling a single host machine to resemble multiple host machines. But, anyways thanks a lot for sharing it here.

web hosting india

Unknown said...

Virtual private server now becomes very cheap with the outstanding growth in technology. Configuration of managed and unmanaged VPS server is very easy and hassle free.

rohan said...

thue may chu Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.

Mukesh said...

If you looking for best VPS hosting offers and trustworthy host you can visit to MidiTech that provide both linux VPS server as well windows VPS server hosting.

Designers Dan said...

Great way to acquire Free SSD VPS for fast and reliable VPS hosting. Thanks, me later.

Anonymous said...

If your company is engaged in IT or you are working on a software development project, application, or operating system, of course, you need a server at an affordable price. Not only that, but you also need qualified facilities to experiment with software or applications that you are developing. You can just use a dedicated server but with high price consequences. As an alternative, you can use a free VPS hosting to do these experiments.

Zab said...
This comment has been removed by the author.
Zab said...

"Hey! Virtual hosting is such a cool concept, making one machine act like many. If anyone's looking to implement this in the Philippines, VPS Hosting Philippines by Zoom offers fantastic options. Their setup makes managing virtual hosts so much easier!"