Multiple Domains

From Cfwiki

Jump to: navigation, search

Here is an example of how to set multiple domains for your site:

classes:

  domain1 = ( IPRange(192.168.0.1-3) )
  domain2 = ( *.domain.com )

control:
  
  domain1::
      domain = ( private.com )

  domain2::
      domain = ( domain.com )

It is as simple as this. I am referencing a thread from the help-cfengine mailing list. Be as creative as you need to be for the classes: section that defines you domains.

--Pearcec 14:03, 20 Oct 2004 (EDT)

Personal tools