URL-Host-Based Virtual Servers

Hi,
I am trying to configure SJS-AS PE 8.1 to accomplish URL-Host-Based virtual servers as descibed in Example 3 of "Deploying Virtual Servers" in the document http://docs.sun.com/source/817-3652-10/agvirt.html (I know it's for v7, but it conceptually descibes exactly what I am trying to do).
The document outlines the scenario perfectly, but gives no example of how exactly to configure the app server this way. My understanding from the admin guide is that a listener has to be unique on a port and address, so once I create it for 0.0.0.0:80, how can I assign it to multiple virtual servers?
Can someone point me to some example showing how to configure the app server this way?
Thanks
Chris

Yes. why are we able to use the same port 80 for several software virtual servers. and then when it comes to use https, we have to use different ports?
Besides, please let me know if it is possible to use SSL with Software and not Hardware virtual servers. As if the Admin guide says it is only possible with hardware VS.
Thank you.

Similar Messages

  • IP based virtual servers in upgrade to iws6

    We are running about 20 hardware virtual sites on a iws 4.x server running on NT. they each have their own IP address and are all SSL sites. We want to switch to iws6.x, but everything is different. has anyone successfully upgraded in a similar situation? we think we need to create a seperate listen socket for each IP address. How would we add a server cert to each of the virtual servers? Thanks!

    Hi,
    <b>How would we add a server cert to each of the virtual servers?</b>
    The below steps will help you how to Install individual cert for each virtual server :
    Webserver 6.x allows you to install individual certificates for each
    virtual server.
    1. Request multiple certificates and while installing those certificates
    give an unique certificate name...say virtualcert1,virtualcert2 etc.
    2. Verify those certificates by clicking the "manage certificate"
    option.
    2. Create virtual servers and if you are creating ip based virtual
    servers (hardware vs) then you can group then to the same listen
    sockets. This can be accomplished by editing the listen sockets and
    choosing the advanced--->group option.
    3. Now again go to the Edit listen Socket and turn on the Security.
    Apply the changes.
    4. You will now see a new link named 'Attributes' appearing.
    5. Click that link and a new screen will open
    6. You will have the Virtual servers listed and also the certificate
    name appearing. You can now associate unique certificate to each of
    those virtual servers created.
    6. Click OK and apply the changes.
    This will install the unique certificate for each virtual server.
    I hope this helps.
    Regards,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • Apache, name based virtual hosts and multiple servers.

    Hi,
    Ive been playing with Apache and name-based virtual hosts for a while now, but, ive been doing it with one single server... now i have the need to forward a name-based request to another server inside the intranet (wich doesnt have a public IP, but a private)...
    Something like this:
    internet -----> Webserver (name based vhosts) ----> intranet-webserver
    Where "webserver" has several domains resolved via name based virtual hosting, and one of those needs to be redirected (or forwarded) to another server on the LAN.
    Any ideas on how to do this? i tryed searching the web, but i dont know under which keywords, so i always end on single server virtual hosting help sites.
    thanks in advance!

    you need to define a virtual server for it..but inside that definition.. define a proxy.
    Then the middle webserver, will actually handle the request to the intranet server, on behalf of the internet client..and then pass the traffic to the internet client.
    this looks like a reasonable example..
    http://www.linuxfocus.org/English/March … le147.html
    namely, the section "Mapping Virtual Servers"

  • ORMI Connect Exception with IP-Based Virtual Hosts

    I currently am using OAS 10.1.2 and have a virtual host setup with the Oc4j mounted at the root of the domain.
    i.e.
    http://mydomain.com (Takes you straight to the application)
    as apposed to
    http://mydomain.com/myapplication (Which appears to be the default configuration)
    When I setup my ormi url to the following ormi://mydomain.com:12500/ I get java.net.ConnectException: Connection refused. error.
    If remove the Virtual Host configuration then specify the ormi url to be ormi://mydomain.com/myapplication I do no get the error.
    Does anyone know how to setup ormi with oc4j applications mounted to the root of a domain.
    Thanks

    you need to define a virtual server for it..but inside that definition.. define a proxy.
    Then the middle webserver, will actually handle the request to the intranet server, on behalf of the internet client..and then pass the traffic to the internet client.
    this looks like a reasonable example..
    http://www.linuxfocus.org/English/March … le147.html
    namely, the section "Mapping Virtual Servers"

  • Using Name-based Virtual Hosts on Apache

    Hi!
    We have Novell SBS 6.5, a tree with 3 servers:
    1. Border Manager sp1
    2. GroupWise (NAT) sp1
    3. WEB (NAT) sp6 - Apache 2, MySQL, PHP.
    My site is at http://www.kalmanovitz.co.il.
    I want to try to add a new sub domain and\ or a Domain using Name-based Virtual Hosts (2 or more domains on same IP number).
    1. My BM server use SSL. Will it influence SSL? How?
    2. What I need to change on my servers?
    3. What my ISP need to update\change on his system?
    4. Can i try to experience the changes without my ISP intervention?
    Please help.
    TIA
    Nanu

    Nanu Kalmanovitz,
    > 1. My BM server use SSL. Will it influence SSL? How?
    Not protocol wise, but you will get asecurity warning that certificate
    and host names do not match.
    > 2. What I need to change on my servers?
    Httpd.conf
    > 3. What my ISP need to update\change on his system?
    DNS, pointers to the domains
    > 4. Can i try to experience the changes without my ISP intervention?
    >
    Yes. Add the names to the workstation's hosts-file
    - Anders Gustafsson, Engineer, CNE6, ASE
    NSC Volunteer Sysop
    Pedago, The Aaland Islands (N60 E20)
    Novell does not monitor these forums officially.
    Enhancement requests for all Novell products may be made at
    http://support.novell.com/enhancement
    Using VA 5.51 build 315 on Windows 2000 build 2600

  • Set up Named Based Virtual Hosting on 10.4 Server

    First, sorry for the stupid question. I've read through Apple's WebTechnologies_Adminv10.4/10.5 manuals and still don't feel like I have a clear answer to this question.
    I am trying to set up named based Virtual Hosting on an Xserve running 10.4. I have read a lot of instructions on the web on setting up named based virtual hosting on Mac 10.4/5 Client computers by manually adjusting the host and httpd.conf files and I'm confused as to whether I need to do this in 10.4 Server as well. I have successfully set up virtual hosting on a client computer and it works but I can't get it to work on 10.4 server. I have set up two sites in Server Admin with two site folders in /library/webserver/documents but no luck. Do I need to do what I did in the files above on the server to get it to work or should it work by just creating seperate sites in Server Admin? What am I missing? Thanks in advance for any guidance.

    You can do this entirely in Server Admin - no need to edit the config files directly.
    You just need to create each site in Server Admin -> (server) -> Web -> Sites
    For each set you need to specify the hostname for the site in each site's Domain Name field.
    As long as each site has a unique name (and that name maps to your server's IP address) that's all there is to it.

  • Defining virtual servers using content-rules

    Can multiple virtual servers be "bound" to a single real server when all of the virtual servers have the same ip address and port, with the only difference between each virtual server being a unique content rule applied to each? (This is more of a migration issue, than a load-balance issue)

    I assume you are saying Web(HTTP) and the answer is yes.
    1. Your server should has name-based virtual hosting enabled if your server only use 1 IP address.
    2. In CSS, you can use single service for this server or use different services with different keepalive uri for each service.
    3. You can use a number of unique Content rules (same VIP, TCP 80 with different URLs) and add the service to it.
    Remarks: If you want to use unique Content rules, you should make them difference with URL, otherwise all the content rules are the same and you can't activate all.
    Another suggestion: If your server already support Name-VHOST, you can use just single L4 Content rule and all the traffic would be handled by that server (service).

  • Issue on virtual servers on sun one web server

    Hi all,
    I configured sun webserver 6.1 sp8 on windows 2003 server
    I configured php,asp,jsp succesfully on different virtual servers.
    as
    www.abc.com:80
    www.php.com:2222
    www.asp.com:3333
    www.jsp.com:4444
    Now the issue is
    I want to run the applications by using url with out portno in the browser
    like www.php.com instead of www.php.com:2222
    my DNS is aware of the www.abc.com,www.php.com,asp.com,jsp.com
    From Internet I can access www.abc.com:80 as www.abc.com becoz it is running on port 80.
    If I type www.php.com it is directing to www.abc.com not to www.php.com:2222.
    In the host file under windows/system32/drivers/etc I added the following lines
    10.129.149.196 www.abc.com
    10.129.149.196 www.php.com
    10.129.149.196 www.asp.com
    10.129.149.196 www.jsp.com
    I want to run the applications without entering portno along with url in the browser.
    Can any one help me please.
    Thanks in advance

    Dear M.V,
    I choose one server(www.xyz.com) that is running on port 80,in its server.xml I added
    <VS id="https-pqr" connections="ls1" mime="mime1" aclids="acl1" urlhosts="www.pqr.com" state="on">
    <PROPERTY name="docroot" value="D:/Sun/WebServer6.1/docs"/>
    <USERDB id="default"/>
    <SEARCH>
    <WEBAPP uri="/search" path="D:/Sun/WebServer6.1/bin/https/webapps/search" enabled="true"/>
    </SEARCH>
    <WEBAPP uri="/" path="D:/Sun/WebServer6.1/https-pqr/webapps/https-pqr" enabled="true"/>
    </VS>
    which is of pqr virtual server that is running on port 3333
    Now with out port no ie, with www.pqr.com I am able to see the home page of application running on pqr virtual server.
    With this configuration I need to check at client environment
    If u find mistakes from the above configuration please let me know
    Thanks alot
    Bye

  • ACE20 - Loadbalancing across 3 virtual servers sharing the same address

    I have 3 virtual servers sharing the same IP, just using different ports.
    192.168.1.1:8000 = server1
    192.168.1.1:8001 = server2
    192.168.1.1:8002 = server3
    I would like to loadbalance across all 3 with the following probe, looking for the URL.
    http://192.168.1.1:8000/index.php
    http://192.168.1.1:8001/index.php
    http://192.168.1.1:8002/index.php
    The config I have in place doesn't seem to be working...  I probably configured this entirely wrong... not sure.
    I need to understand what I missed.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++
    probe http WEB1-http-probe
       interval 30
       passdetect interval 5
       request method get url /index.php
       expect status 200 200
       connection term forced
    probe http WEB2-http-probe
       interval 30
       passdetect interval 5
       request method get url /index.php
       expect status 200 200
       connection term forced
    probe http WEB3-http-probe
       interval 30
       passdetect interval 5
       request method get url /index.php
       expect status 200 200
       connection term forced
    ! RSERVER
    rserver host 192.168.1.1-rs
       ip address 192.168.1.1
       inservice
    ! SERVERFARM
    serverfarm host WEB-sf-HTTP
       rserver  192.168.1.1-rs 8000
          probe WEB1-http-probe
          inservice
       rserver  192.168.1.1-rs 8001
          probe WEB2-http-probe
          inservice
       rserver  192.168.1.1-rs 8002
          probe WEB3-http-probe
          inservice
    ! STICKYGROUP
    sticky ip-netmask 255.255.255.255 address source StickyGroup_WEB-HTTP
       timeout 60
       replicate sticky
       serverfarm WEB-sf-HTTP
    ! CLASS-MAP
    class-map match-any WEB-cm-HTTP
        2 match virtual-address 192.168.200.1 tcp eq 80
    ! POLICY-MAP
    policy-map type loadbalance first-match WEB-pm-HTTP
      class class-default
        serverfarm WEB-sf-HTTP
    policy-map multi-match POLICY
       class WEB-cm-HTTP
         loadbalance vip inservice
         loadbalance policy WEB-pm-HTTP
         loadbalance vip icmp-reply active
    When I check the status of the RSERVER, the probes all indicate "FAIL"

    Found my problem...
    I failed to put in the "port" statement under the probe.
    After doing this and then verifying the RSERVER status, all the probes now show as OPERATIONAL.
    probe http WEB1-http-probe
    port 8000

  • Adding Virtual Servers in iPlanet Webserver 6.0 SP5

    Hello All,
    I have recently migrated to wevserver 6.0 SP5. Here I am facing a problem with the virtual servers. I am able to create virtual servers in 6.0 but as in the previous version 4.1 we dont have a home page for the URL host in 6.0 version. Though we can specify in Document Preferences the home page name and put the doc root as required for
    eg I put the doc root as /usr/iplanet/servers/docs/chat
    and I have 2 virtual servers for the same doc root but the home page is different for both where as in the previous version ie 4.1 we were able to specify a home page against each virtual server.
    Pls help me on this
    Sumit

    In 6.0, the expectation is that distinct virtual servers would have distinct document roots. As such, the Administration Server does not provide the ability to configure virtual-server-specific "home pages".
    There are a couple different approaches you could take:
    a) separate the document roots so that each virtual server has its own
    b) create a separate virtual server class for each virtual server, and specify different Index Filenames on the Document Preferences page (e.g. virtual server class A might be configured to use Index Filenames A.html,index.html while virtual server class B is configured to use Index Filenames B.html,index.html)
    c) manually configure obj.conf to use the home-page SAF
    The home-page SAF would be used as follows:
    <Client urlhost="server.example.com">
    NameTrans fn="home-page" path="homepage.html"
    </Client>

  • Branch Office will not host Microsoft services/servers - Sites and Subnets

    Hi,
    The scenario is the following:
    1 Domain. Windows 2012 R2.
    6 sites. 1 DC per site. 3 subnets per site.
    5 sitelinks.
    The sites diagram is the following:
    The branch office "SITE04" will not host any Microsoft service/server/PC. Network routing/flow scheme will not change (branch office SITE04 reamins routing traffic to/from SITE05 and SITE06).
    The questions are:
    Does the existing SITE04 subnets must be deleted?
    Does the existing SITE04 site must be deleted?
    Does the existing SITE04-SITE05 and SITE04-SITE06 site links must be deleted?
    if yes to any of the above questions?
    How to redesign the subnets/sites/site links?
    Thanks in advance!

    Thanks MrX for your response.
    The SITE04 branch office will not host Microsoft-based PCs/Servers/Services. SITE04 will be used for network traffic routing purposes and will host servers from another platform.
    Why to mantain SITE04 subnets?
    Thanks in advance!
    In this case, maintaining the subnets would be optional.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Best practices for setting up virtual servers on Windows Server 2012 R2

    I am creating a Web server from scratch with Windows Server 2012 R2. I expect to have a host server, and then 3 virtual servers...one that runs all of the web apps as a web server, another as a Database Server, and then on for session state.  I
    expect to use Windows Server 2012 R2 for the Web Server and Database Server, but Windows 7 for the session state.
    I have an SATA2 Intel SROMBSASMR RAID card with battery back up that I am attaching a small SSD drive that I expect to use for the session state, and an IBM Server RAID M1015 SATA3 card that I am running Intel 520 Series SSD's that I expect to
    use for Web server and Database server.
    I have some questions. I am considering using the internal USB with a flash drive to boot the Host off of, and then using two small SSD's in a Raid 0 for the Web server (theory being that if something goes wrong, session state is on a different drive), and
    then 2 more for the Database server in a RAID 1 configuration.
    please feel free to poke holes in this and tell me of a better way to do it.
    I am assuming that having the host running on a slow USB drive that is internal has no effect on the virtual servers after it is booted up, and the virtual servers are booted up?
    DCSSR

    I am creating a Web server from scratch with Windows Server 2012 R2. I expect to have a host server, and then 3 virtual servers...one that runs all of the web apps as a web server, another as a Database Server, and then on for session state.  I
    expect to use Windows Server 2012 R2 for the Web Server and Database Server, but Windows 7 for the session state.
    I have an SATA2 Intel SROMBSASMR RAID card with battery back up that I am attaching a small SSD drive that I expect to use for the session state, and an IBM Server RAID M1015 SATA3 card that I am running Intel 520 Series SSD's that I expect to
    use for Web server and Database server.
    I have some questions. I am considering using the internal USB with a flash drive to boot the Host off of, and then using two small SSD's in a Raid 0 for the Web server (theory being that if something goes wrong, session state is on a different drive), and
    then 2 more for the Database server in a RAID 1 configuration.
    please feel free to poke holes in this and tell me of a better way to do it.
    I am assuming that having the host running on a slow USB drive that is internal has no effect on the virtual servers after it is booted up, and the virtual servers are booted up?
    There are two issues about RAID0:
    1) It's not as fast as people think. So with a general purpose file system like NTFS or ReFS (choice for Windows is limited) you're not going to have any great benefits as there are very low chances whole RAID stripe would be updated @ the same time (I/Os
    need to touch all SSDs in a set so 256KB+ in a real life). Web server workload is quite far away from sequential reads or writes so RAID0 is not going to shine here. Log-structures file system (or at least some FS with logging capabilities, think about ZFS
    and ZIL enabled) *will* benefit from SSDs in RAID0 properly assigned. 
    2) RAID0 is dangerous. One lost SSD would render whole RAID set useless. So unless you build a network RAID1-over-RAID0 (mirror RAID sets between multiple hosts with a virtual SAN like or synchronous replication solutions) - you'll be sitting on a time bomb.
    Not good :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • How to customize search in WS 7 and for multiple virtual servers?

    I'm not clear on how to customize search results pages in Sun Web Server 7. The documentation (the Adminstrator's Guide, page 215) says:
    You can take a look at the default search application located at /bin/https/webapps/search as a sample application
    but I'm not seeing any such thing. I did a find . -name search -type d from the server root and instance root but the only search directories I'm seeing are subdirectories within the generated directory and they look like system generated jsps that I shouldn't touch (So I didn't :-)
    So one question is, where is the default app? A second question is, how do we set up different branding for different virtual servers?
    We're currently using WS 6.1 and it has a field in the GUI for the directory containing the web app to use for search. That seems to have disappeared in WS 7.
    Any help would be appreciated. Thanks.
    Dave

    I don't use the search engine, so I'm afriad I don't have direct experience here.
    What I'd probably do is modify the app so that it looks at the Host data to determine which directory it should point to for graphics, formatting, etc. You could also use the obj.conf with variables to pull graphics from directories appropriately branded. Something like:
    1) Create "additional doc directory" for images
    2) Find the entry in the obj.conf that points to the new directory
    3) Modify the path to something like /path/to/$host/images
    4) Make sure you create directories like:
    /path/to/foobar.com/images/
    /path/to/www.foobar.com/images/
    /path/to/baz.com/images/
    /path/to/www.baz.com/images/

  • I'm using a Mac. After swithcing to ICloud will I be able to use IWeb to upload and publish my sites hosted by other servers like Prohosting ?

    I'm using a Mac. After swithcing to ICloud will I be able to use IWeb to upload and publish my sites hosted by other servers like Prohosting ?

    iWeb has two other ways to publish your site...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    ... and the second method allows you a choice of how you upload the files...
    http://www.iwebformusicians.com/iWeb/URLs-Favicons.html
    Here's a publishing workflow checklist...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Website-Publishing-Wo rkflow.html
    The MobileMe only features can be replaced by alternatives...
    http://www.iwebformusicians.com/iWeb/Comments-Password-Protect.html
    If you have folders of assets outside of the main website folder on MobileMe, download them from the Apple server. From the Finder Go menu, follow the path iDisk/My iDisk/ to get there. Your website files are in the Web/Sites folder. Drag any files/folders onto the desktop.
    Use an FTP application to upload these assets to the root folder on your new server...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html
    ...and change the relevant URLs to...
    http://www.domain-name.com/Folder-Name/file-name.file-extension
    There are lots of options for hosting for about half the cost of MobileMe...
    http://www.iwebformusicians.com/iWeb/Website-Hosting.html
    If you have been using a web.me.com domain name, you need to register a new one. Most hosting services give you at least one free and registering with your hosting company will make forwarding and managing it a lot easier.
    Make sure you add the new name to Google and create, upload and enter a new sitemap.xml...
    http://www.iwebformusicians.com/Search-Engine-Optimization/SEO.html
    If you have inbound links on other sites...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Inbound-Link.html
    ... remember to inform the webmasters of you new URL.
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Running SAP on Microsoft Virtual Servers

    Is anyone running SAP on Microsoft Virtual Servers?  If so, what has been your experience with this?  We are installing NetWeaver 2004s on three virtual servers (running on the same Physical Windows server). We are using the Microsoft Virtual Server software (not VM Ware).
    Thanks in advance for any information.

    Check Note 674851 - Virtualization on Windows:
    VMware, GSX Server, VMware workstation, Microsoft Virtual Server
    Due to their restriction to 32-bit, single CPU and host/guest operation, these virtualization products are not suitable for productive SAP applications.
    It may be advisable to use one of these products to operate non-production systems (demo systems, test systems, development systems and so on).
    I would not use Microsoft Virtual Server for productive installations, additionally, depending on the database used, it may or may not supported by the database vendor and thus also may or may not supported by SAP.
    In worst case you will need to reinstall the application on a non-virtualized environment and reproduce a problem there before SAP support will accept the problem.
    Markus

Maybe you are looking for

  • TS4071 itunes will not install on my computer,  error says msvcr80.dll is missing.  i cannot get to the app store

    trying to get to itunes via my pc as i have before in order to download an app... i recently bought my wive a newly refurbished HP minidesktop and took her old computer... I installed my 2 1TB drives and was off and running.  I renamed her computer.

  • Tried ipod on 3 different pc's, and now everyone of them comes up with eror

    i have had my ipod one week, first time i plugged it into the pc, the pc kept reseting and going on to a blue screen saying windows was shut down to protect files ect. and different error codes. so i tried the ipod on another pc, same happened, so on

  • Make external drive bootable?

    I just got a 1TB Mini Stack External Hard Drive for my Aperture Library and another for my vault. I have not done a back-up of my system yet and would like to know if I should partition both and make each have a bootable section for emergencies. I do

  • 15.4" or 13.3" ?

    I've been lurking this forum for awhile. Waiting to see how well the intel boxes get the bugs worked out. Looks like they are getting closer. Question - I'm having a bit of a problem deciding on the 15.4 vs the 13.3. It will mostly be used at home bu

  • H:panelGrid question

    Hello, I have a simple panelGrid question that is driving me nuts and I'm sure I am missing something completely obvious and ridiculous. I have a simple panelGrid as follows: <h:panelGrid columns="3">      <h:inputText id="docs" value="Document Name"