Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Idiot question on Cheyenne

From: dockimbel::free::fr at: 1-Jan-2009 20:20

Hi Greg, You seem confused by what a virtual domain is. A virtual domain is defined in cheyenne's config file as (for example) : [ root-dir %/c/www/ ] That means that Cheyenne will serve content from local folder %/c/www/ when asked for virtual domain Also, your OS needs to know the mapping between domain names and their IP addresses. This is done by querying a DNS server (mainly for public names) or looking in local hosts file for name/IP mapping. So, in order for to respond, the domain must be defined somewhere, in a DNS database or locally in the hosts file. On UNIX, hosts file is located at /etc/hosts, on Windows, it's at %SYSTEM32%/drivers/etc/hosts. More info about hosts file: Hope that helps, -- DocKimbel a =E9crit :