Mapping Customer's Domain/Subdomain to my site
jacquesm: In your DNS configuration you have to put a line like this:   *.DOMAIN.com.               IN      A       YOURIP

Where DOMAIN and YOURIP have to be replaced by the relevant data. (the asterisk character goes into column '0', the separators between the fields are tabs).Then, when that works and whateveryoutype.domain.com maps to YOURIP you have to set up your webserver to handle this.I'm going to assume that you use apache, for other webservers you'll have to do something else.In the VirtualHost section, just under 'ServerName' for your webserver add this line:    ServerAlias *.DOMAIN.com

And restart the server.Now in your language of choice you need to fish out the hostname, and load a database record with the specifics of that subdomain.In php you would need to access:    $_SERVER['HTTP_HOST']

good luck!