[REBOL] Re: Idiot question on Cheyenne
From: dockimbel::free::fr at: 1-Jan-2009 20:20
You seem confused by what a virtual domain is. A virtual domain is
defined in cheyenne's config file as (for example) :
That means that Cheyenne will serve content from local folder %/c/www/
when asked for virtual domain http://my.vhost.com/.
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 http://my.vhost.com 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
More info about hosts file: http://en.wikipedia.org/wiki/Hosts_file
Hope that helps,
greg.schofield-iinet.net.au a =E9crit :