Setting up an internet site document to the root of a domain name

I can use internet site documents to point www.mydomain.com to a database, but don’t know how to point the following to a database?

http://mydomain.com (so no alias)

*.mydomain.com (all aliases)

Thanks

Subject: Check DNS and internet site document

First your dns must be set correctly to also route http://mydomain.com to your server.

In your internet site document add mydomain.com to the field ‘Host names or addresses mapped to this site’ (both www.mydomain.com and mydomain.com must be registered here).

At least this works for us. . .

Subject: default web site doc

alternatively you can make a default website docto handle requests that don’t get mapped to other specified host/addresses

select yes to Use this web site to handle requests which cannot be mapped to any other

web sites: