Setting up different webservices based on port number

I have several different web services set up on different port numbers, but would like to access them based on the sub domain instead of the port number.
for instance we have Rumpus ftp running on port 8000
webmail running on port 82
wiki running on port 80
at the moment they are accessed by our.domain-name.co.uk:port number
I have the following sub domains set up with our domain registrar which point to our server.
ftp
web
mail
how do I tie all this together so just typing ftp.domain-name.co.uk points to rumpus on port 8000

Short answer, double-up.
The port number will take precedence, so if you have a virtual host listening on port 8000 then it's only going to process requests on that port. There's no way for it to process hits that come in on a different port.
You could configure the port 80 virtual host as a proxy to proxy the connection to the port 82/8000 server based on the hostname, but it would be easier (by far) to just setup another virtual host.
For example, you setup:
*:82 -> wiki
then you setup another virtual host:
web.domain-name.co.uk:80 -> wiki
Likewise you setup:
*:82 - > webmail
and
mail.domain-name.co.uk:80 -> webmail
In both cases you'd need to duplicate the site's configuration, which means more administration - if you make a change to your webmail setup you need to make it in both places.
The one gotcha is that IIRC Rumpus runs as its own server, not an Apache virtual host, so that may need to be setup as a proxy.

Similar Messages

  • VIP's port number different than backend servers port number

    Greeting,
    Is it possible to configure css11506 as:
    VIP port is 80
    three real web servers' port is 8100.
    If so, please advice the configuration?
    Many Regards

    this is possiblem
    Here is a sample config
    server XXX-8100
    ip address x.x.x.x
    port 8100 <---- this is all you need.
    active
    owner MyCompany
    content www
    vip x.x.x.x
    port 80
    add service XXX-8100
    active
    Regards,
    Gilles.
    Thanks for rating this answer.

  • Redirect user to a different Page based on number of  Liquid output result

    I want to redirect the user to a different page based on the number of results. I have some multi-account users and single account user in my secure zone. I want single account users to be sent to a different page, while multiple account user should be shown their accounts and they user can now click the account he/she wants to access. This is my code:
    {module_data resource="customers" fields="company, email1"  where="\{'company':\{'$contains':'{{this.globals.user.email}}'\}\}" skip="0" limit="500"  version="v3" collection="companyXtra" template=""}
    {module_webapps id="21927" filter="all" collection="companyAccess" template=""}
    {% for item in companyAccess.items -%}
    {% assign counter = {{forloop.length}} -%}
    {% if globals.user.email = item.email and counter = 1 -%}
    <script>
    window.location.replace("/single-account-user.html");
    </script>
    <a class="w-inline-block szone-navlinks multiplecoy" href="{{item.url}}">
        <div class="szone-holder">
          <div class="szone-narrate addenrolee">{{item.name}}</div>
        </div>
      </a>
    {% else %}
    <p><a href="{{item.url}}">{{item.name}}</a></p>
    {% endif %}
    {% endfor %}
    </div>
    Please what I'm doing wrongly. Can someone kindly assist. Thanks.

    Hi Liam I have since been reviewing my query using the BC API Discovery which has been a good guide for me. But the result is just displaying the core customer's company, though the other company has a default email/email1 as the core customer.
    This is my new query:
    {module_data resource="customers" version="v3" fields="company" skip="0" limit="10" where="\{'email1.value':\{'$contains':'{{globals.user.email}}'\}\}" order="id" collection="myData"}
    <pre>{{myData|json}}</pre>
    This is the json:
      "moduleName": "data",
      "moduleDescriptor": {
      "templatePath": null,
      "parameters": "resource=\"customers\",version=\"v3\",fields=\"company\",skip=\"0\",limit=\"10\",where=\ "\\{'email1.value':\\{'$contains':'[email protected]'\\}\\}\",order=\"id\",collection=\"myData\"",
      "apiEndpoint": "/api/v3/data",
      "objectType": "-1",
      "objectId": "-1",
      "adminUrl": ""
      "items": [
      "company": "The vivove company Limited"
      "totalItemsCount": 1,
      "skip": 0,
      "limit": 10,
      "params": {
      "resource": "customers",
      "version": "v3",
      "fields": "company",
      "skip": "0",
      "limit": "10",
      "where": "\{'email1.value':\{'$contains':'[email protected]'\}\}",
      "order": "id",
      "collection": "myData"
    I expected to see two companies. This is screenshot of my the companies in the CRM:
    Screenshot by Lightshot
    Screenshot by Lightshot
    Thanks. most appreciated.

  • Change WOL Port number for clients

    Hi All
    We want to implement in our environment WOL functionality , for WSUS deployment and scheduled OSD deployments
    We cannot unfortunately implement the default UDP port 9
    My question is how can we change that default port on the clients?
    I know that we can change the port on the primary server -> Site configuration -> Sites -> Properties primary site server -> tab 
    Port and here we can change the port number of Wake on Lan
    For the client I noticed that there is a client setting -> Power Management -> Wake on Lan port Number (UDP) but that number is grayed out and set to 9
    Also when I create a custom Client Setting that port number is grayed out and set to 9
    How can I change that port number for the client?
    Thx in advance
    Regards,
    Johan

    The port number in Client Settings/Power Management is grayed out because "Enable wake-up proxy" is disabled. When you enable it, it becomes available. Be aware that wake-up proxy and wake on lan is 2 different things. (Beware mac address flapping)
    To change the Wake On Lan port go to, primary server -> Site configuration -> Sites -> Properties
    primary site server -> tab  Port.
    Wake On LAN port number (UDP)
    For System Center 2012 Configuration Manager SP1 and System Center 2012 R2 Configuration Manager only:
    Keep the default value of 9, unless you have changed the Wake On LAN (UDP) port number in the site Properties, Ports tab.
    Important
    This number must match the number in the site Properties. If you change this number in one place, it does not automatically update in the other place.
    Benoit Lecours | Blog: System Center Dudes

  • Status Agent Not Reachable - How to set a fix port number?

    My EM 10g was working fine http://localhost:5500/em
    Now when I tried, it was not working. I looked into portlist and found out it there was additional port of 5502
    But when I logged into port 5502, Status Agent Not Reachable. Other links were working fine.
    I had even installed another DB called REPOS other than the default ORCL.
    All the services were up and running and I was just bouncing services back and forth and luckly I got the original port 5500 to work and then I did not got the error "Status Agent Not Reachable".
    So I just wanted to know how to set a dedicated port in case the port number changes back to 5502 and if I get the error again.
    Thanks in advance.

    Yes I installed multipe databases for eg ORCL was the default but I installed REPOS.
    I did not uninstall the db.
    Why does it show two different ports for ORCL 5500 and 5502 and for Repos it shows two ports but they are the same 5501.
    Everything is on my local machine.
    Following is from the portlist
    Ultra Search HTTP port number =5620
    Enterprise Manager Agent Port =
    iSQL*Plus HTTP port number =5560
    Enterprise Manager Console HTTP Port (orcl) = 5500
    Enterprise Manager Agent Port (orcl) = 1830
    Enterprise Manager Console HTTP Port (repos) = 5501
    Enterprise Manager Agent Port (repos) = 1831
    Enterprise Manager Console HTTP Port (ORCL) = 5502
    Enterprise Manager Agent Port (ORCL) = 1830
    Enterprise Manager Console HTTP Port (repos) = 5501
    Enterprise Manager Agent Port (repos) = 1831

  • LOAD BALANCE (CSS) and Portal Port Number based on Instance Number

    Hi,
    My doubt is about LOAD BALANCE (CSS) and Portal Port Number based on Instance Number.
    I have to install 3 servers machines and 2 servers databases cluster. There will be a HIGH AVAILABILITY environment. There will be a MIGRATION and UPGRADE.
    Today there are 2 servers machines in Windows NLB. Today my production Portal is 6 6.20.
    Once, I did something for LABORATORY TEST. Migration (6 6.40) and Upgrade (7.0)in two other machines. But they were with Windows NLB. When I did the installation, for each server machine and during the instalation I had to give one Instance Number for each and in result there was a different Port Number for each.
    But I accessed both machines throught a virtual url(dns) with a specific port number. And it works!
    NOW, with a HARDWARE LOAD BALANCE _ CSS I don't know how to do.
    A guy who works with it  tell us that couldn't redirect one Port Number for different port numbers. He couldn't configure the CSS like this.
    My question is: Is he write? And if he is, there is a  way to give the same instance number for my 3 new Portal servers machines? Example: 5(02)00.
    Could you understand?
    I need help.
    Regards,
    cheers,
    Nivia

    Nivia,
    I have used F5 for load balancing, I am sure you can do the same with CSS. Yes, you can configure a virtual IP on the load balancer with standard ports (80 or 443) and load balancing the traffic to multiple servers with different ports. You can have different ports for each instance.
    -Regards
    RK

  • Is it possible to set a port number for a server as a value from env ?

    Hello,
    I'm using the version 6.1 - sp8 and I'd like to set the port number of a server as a value returned by an environment variable. Will this be achievable somehow through the admin console?
    In fact, I have an environment variable called '$WEB_SERV_PORT'. I'd need this value to be assigned as the port number for a server. The reason why I am trying to do this is coz I have multiple instances running as different batch accounts and each batch account would be having its own '$WEB_SERV_PORT' which would be the port on which iplanet would be running for that batch account.
    I'd appreciate if anyone could help.
    Thank you,
    Presley.

    Hello Sriram,
    Thanks for the info that you have provided. I do agree that what you said would be a better approach.
    However I've got a couple of questions on the approach that you have suggested (Sorry that its a bit off from the main topic). Just wanted to clarify if what I thought is in sync with the approach that you suggested.
    1. As you said, I could setup multiple virtual server within an instance (https-<hostname>) - Does this mean that I am creating "Virtual Server Classes" for each server and through the web-applications tab, assigning the corresponding war file to each Virtual Server Class?
    2. Another approach that came upto my mind is that I could create different instances like (https-virtual server1, https-virtual server2, https-virtual server3 etc..). I am assuming that if I follow this approach, I could have each server allocate memory indiviually to the virtual servers. for eg, I could allocate
    1024 MB to each virtual server where as in the first approach, I would have to make the 1024 MB to share between all the Virtual Server Classes. And also, in the case theres an issue with one server, I could handle the start/ stop etc individually, where as in the 1st approach, all the virtual classes would be affected by the start/stop. Am I assuming it correctly ?
    I'd appreciate if you could let me know.
    Thank you,
    Presley.
    Edited by: pressley on Mar 26, 2008 7:04 AM

  • How to find port number , when there will be different instance number ?

    In case of portal url,
    port number is 50000 for default instance number 00.
    how to find port number , when there will be different instance number , instead of 00?
    Thanks

    Hi
    You can find the port number by your instance number as follows:
    There is a general format for the port number like you have mentioned.
    For 00 instance the port number is 50000.
    The general format for the port number goes like this:
        <b>5<instance_no>00</b>
    If your <b>instance number is 01</b> then the port number would be <b>50100</b>.
    It depends on the installation type which you perform.
    You can also change the instance number during the installation but normally you dont do this.
    If you have many components or units installed on your system you may have more than one instance in that case it may go like this 00, 01, 02....accordingly port number will be 50000, 50100, 50200...resp.
    Hope this solves your doubt.
    If you need some more clarification please lemme know.
    Regards
      Sumit Jain
    **Rewrd with points if useful.

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    Phone A = phone with information you want duplicated
    Phone B = phone that you want to copy from A
    Backup Phone A.
    Wipe Phone B using these instructions. What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
    Phone B should be on the 'Hello' screen. Do not swipe it. Launch iTunes. Plug in Phone B.
    When iTunes asks if you want to set up as new phone or restore from backup, choose restore from backup of Phone A.
    After this setup, any changes to one phone (i.e. adding a contact, downloading an app) will have to be manually duplicated on the second phone, if that is your desire). Making changes to one phone will not affect the other after setup.

  • I am trying to set up my outlook 2007 account on i pad and the process sticks on verifying.  It would appear to be a problem with outgoing server and I have changed the port number but with no success.

    I have just purchased an i pad 2 and am having trouble with the e-mail set up.  Set up with wi-fi, i-cloud etc has worked fine but the i pad is recognising my outlook 2007 account details but is not verifying it.  The trouble appears to be with the outgoing server and I have tried changing the port number, but to no avail!  Also reset the account settings for holding messages on the server...help!  As you can tell I'm not very techy and I'm desperate to get the bloody thing working as I'm going away on Tuesday! Any suggestions?

    I had a similar issue and it was password case sensitive issue

  • DataGridCellStyle: Set Background of DataGridCell based on value in a Different DataGrid / DataTable

    Hi everyone
    I am trying to set the background of a cell in a datagrid based on a value in a different datagrid. Is it possible to specify this in the XAML through binding? I'm using the MVVM pattern and would like to minimise code in the code behind. Please note that
    the datagrids are the same dimension, but the dimension is unknown until runtime.
    I've copied an image of the two datagrids. Essentially, the second datagrid will contain values of 0 or 1. I would then like to color the cells in the first datagrid a different color based on these values. 
    CODE:
    <DataGrid Style="{StaticResource Style1}" ItemsSource="{Binding Table1, StringFormat=n}" AutoGenerateColumns="True" >
    <DataGrid.InputBindings>
    <MouseBinding MouseAction="LeftDoubleClick" Command="{Binding CommandWithParameter}" CommandParameter="{Binding .}"/>
    </DataGrid.InputBindings>
    <DataGrid.CellStyle>
    <Style TargetType="DataGridCell">
    <Setter Property="Background" Value="{Binding Table2, Converter={StaticResource WeightConverter} }"/>
    </Style>
    </DataGrid.CellStyle>
    </DataGrid>
    Thanks!

    You could use a DataTrigger that binds to a column of a row of the other DataGrid like this:
    <DataGrid x:Name="datagrid"></DataGrid>
    <DataGrid x:Name="datagrid2">
    <DataGrid.CellStyle>
    <Style TargetType="DataGridCell">
    <Style.Triggers>
    <DataTrigger Binding="{Binding Path=Items[0].num, ElementName=dataGrid}" Value="abc">
    <Setter Property="Foreground" Value="Red"/>
    </DataTrigger>
    </Style.Triggers>
    </Style>
    </DataGrid.CellStyle>
    </DataGrid>
    DataTable dt = new DataTable();
    dt.Columns.Add(new DataColumn("num") { DataType = typeof(string) });
    dt.Rows.Add("abc");
    datagrid.ItemsSource = dt.DefaultView;
    datagrid2.ItemsSource = new List<string> {"a", "b", "c" };
    Hope that helps.
    Please also remember to mark all helpful posts as answer to close your threads and please start a new thread if you have a new question.

  • Port number of a webservice?

    Hello,
    How can i get the port number of a webservice?
    Regards

    This is the same port on which your application server is listening e.g. 8080 for Tomcat.

  • Seeting cookies for different domain with port number

    Hi,
    I've been desperately trying to solve this for a few days now so thought i'd give up and ask.
    Basically, when a user logs into the website, the idea is for them to be automatically logged into the bulleting board. This is being done by setting a cookie(I won't go into detail as it's not relevent).
    The cookie is being created in one domain (.stage.csu.ac.uk) and needs to be used by another, .prospects.ac.uk. However, the board is on servername.prospects.ac.uk:81, which means that the cookie isn't being picked up.
    I've been tearing my hair out for days about this. I can't change the fact it's using port 81, and there's no other way of doing this log in.
    If ANYONE can help, I would not be able to say thanks enough.
    Sam.

    Perhaps you can call a jsp on the other server to set the cookie for you, for example by loading it in a hidden iframe?
    This has some maintainance issues because you need to provide a full url to the jsp on the other server, so if anything changes (port number for example) then this solution will break.

  • Using different port number in RDP Client

    I was successfully able to change the RDP port for my windows server 2012 R2 following this: http://support2.microsoft.com/kb/306759
    I am also able to RDP to from windows (XP, Windows , etc) default RDP client by providing <ipAddress>:<portNumber>.
    My issue is when I open my clients in front of others they can easily see the port number I am using for RDP. How can I change the settings in my RDP client so that I don't have to provide port number and it knows that it has to connect to this different
    port to RDP?

    Easiest way 
    Install Remote Desktop Connection Manager and configure the servername with portnumber (This is onetime configuration).
    Download RDConnection Manager from : http://www.microsoft.com/en-us/download/details.aspx?id=21101
    OR 
    You can save thie RDP shortcut icon for a respective server.
    Open RDP console,Click on show options,
    Enter the name of remote computer name with portnumber
    If required specify username, 
    Click on Save As,
    Save it on Desktop or as per your convenience.
    Whenever if you want to connect to the server, Just double click on RDP icon where you have saved. it will not show you portnumber, it will prompt for username / password.
    Regards,
    Manjunath Sullad

Maybe you are looking for