Skip to main content
November 10, 2010
Question

Local Multi Instance CF Server - How can others connect?

  • November 10, 2010
  • 1 reply
  • 428 views

Apologies for asking a question that's in documentation somewhere.  I'm unable to find it at this point and if you could point me in the right direction I would be much obliged.

My Setup:

-Mac 10.6.4

-CF 9 Multi Server Instance

-MAMP

I have a static IP assigned to my machine.  User's can connect to it and they get the home directory with the CFIDE/Administrator.. link that leads to the main coldfusion administrator panel.  However, I can't seem to figure out how I can get them to point to a specific CF instance I have running. 

    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    November 10, 2010

    Different ports.

    For example on my windows box.


    www.xxx.yyy.zzz:80 points to the default cfusion instace.

    www.xxx.yyy.zzz:8301 points to my first instance.

    www.xxx.yyy.zzz:8302 points to my second instance.

    Then for the web sites I use host headers.

    www.xxx.yyy.zzz:80:information-technology points to one of the web sites

    www.xxx.yyy.zzz:80:enforcement points to another of the web sites.

    November 10, 2010

    My instance is located on

         http://10.250.250.56:8301

    and I can reach the administrator at

         http://10.250.250.56:8301/CFIDE/administrator/

    I believe host headers are an IIS thing.  In apache I have a virtual host set up on port 80

    ServerName foo

    ServerAlias foo.localhost

    http://foo.10.250.250.56 and http://10.250.250.56:foo do not work.  since this is on port 80 I didn't think I would need to specify it but I did anyways and still no success.

    ilssac
    Inspiring
    November 10, 2010

    Well IIS Host Headers and Apache Server Aliases are the same functionality.

    You use them in the domain name, not the IP address:port form of URL.

    I.E.

    For my previous examples the domain names would be:

    information-technology.inside.cdpr.ca.gov

    enforcement.inside.cdpr.ca.gov

    Where inside.cdpr.ca.gov is the domain name that resolves to the IP address www.xxx.yyy.zzz from my previous example.