Configring the Virtual Host aliases

Posted on 2006-05-09
Last Modified: 2013-12-11
Hi ,
      I have a problem in configuring the virtual host. I have configured a new Virtual host and have mapped an Enterprise Application with the created Virtual host. the problem that i have is that i can not open the Application on the Default host alias that is 80. I have to give the alternative port numbers to open the applicaion. What changes do I have to make in order to make the application open on the default port 80. Do I have to add the Data description in the Httpd.xml file ? There are no SSl in this Application. So please tell what i have to do in order to make it work on default port. Please give me a brief description for m issue.

Question by:pavan_immadi

    Author Comment

    I would Appreciate if you can respond quickly.
    LVL 23

    Accepted Solution


    Configuring virtual hosts
    For configuration purposes, a virtual host enables WebSphere Application Server to treat multiple host machines or port numbers as a single logical host (virtual host). You can combine multiple host machines into a single virtual host or assign host machines to different virtual hosts, to separate and control which WebSphere Application Server resources are available for client requests.

    Before you begin
    If your external HTTP server configuration uses the default port, 9080, you do not have to perform these steps.
    About this task
    You must update the HTTP port numbers associated with the default virtual host. or define a new virtual host and associate it with the ports your HTTP server configuration uses if:
    Your external HTTP server configuration uses a port other than the default port of 9080, you must define the port that you are using.
    You are using the default HTTP port 9080, but the port is no longer defined. You must define port 9080.
    You have created multiple application servers as either stand-alone servers or cluster members, and these servers use the same virtual host. Because each server must be listening on a different port, you must define a virtual host alias for the HTTP port of each server.
    If you define new virtual host aliases, identify the port values that the aliases use on the Host alias settings page in the administrative console.

    To create a new virtual host or change the configuration of an existing virtual host:

    In the administrative console, click Environment > Virtual Hosts.
    Optional: Create a new virtual host. If you create a new virtual host, a default set of 90 MIME entries are automatically created for that virtual host.
    In the administrative console, click New.
    Enter the name of the new virtual host and click OK. The new virtual host appears in the list of virtual hosts you can configure.
    Select the virtual host whose configuration you want to change.
    Under Additional Properties, click Host Aliases.
    Create new host aliases or update existing host aliases to associate each of your HTTP port numbers with this virtual host.
    There must be a virtual host alias corresponding to each port your HTTP server configuration uses. There is one HTTP port associated with each Web container, and it is usually assigned to the virtual host named default_host. You can change the default assignment to any valid virtual host.

    The host aliases associated with the default_host virtual host are set to * when you install WebSphere Application Server. The * (an asterisk) indicates that the alias name does not have to be specified or that any name can be specified.

    When the URL for the application is entered into a Web browser, the port number is included. For example, if 9082 is the port number, the specified URL might look like the following:
    To create a new host alias:

    Click New.
    Specify a host alias name in the Host Name field and one of your HTTP ports in the Port field.
    You can specify * (an asterisk) for the alias name if you do not want to require the specification of the alias name or if you want to allow any name to be specified.

    Click OK and Save to save your configuration change.
    To update an existing host alias:
    Select an existing host alias name.
    Change the value specified in the Port field to one of your HTTP ports.
    Click OK and Save to save your configuration change.
    Optional: Define a MIME object type and its file name extension if you require a MIME type other than the pre-defined types.
    For each needed MIME entry on the MIME type collection page, click New.
    On the MIME type settings page, specify a MIME type and extension.
    Click OK and Save to save your configuration change.
    Regenerate the Web server plug-in configuration.
    Click Servers > Web servers, then select the appropriate Web server.
    Click Generate Plug-in, then click Propagate Plug-in.
    Restart the application server.


    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
    HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now