Handling sub-domains

I want users to have their own landing pages:
http://username.domain.com.

Since this is dynamic (any user will have a subdomain), is there a way
to do this without creating a DNS record for each of them?

Can you DNS records be dynamic?

ā€“
Austin G.
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[email protected]

On 24 Aug 2006, at 02:49, Austin G. wrote:

I want users to have their own landing pages: http://
username.domain.com.

Since this is dynamic (any user will have a subdomain), is there a way
to do this without creating a DNS record for each of them?

Can you DNS records be dynamic?

Iā€™m not 100% sure whether this will work with subdomains but there is
request.host and that might do the trick.

Alastair


Alastair M.
Standards compliant web development with Ruby On Rails, PHP and ASP
www.kozmo.co.uk
07738 399038

Austin,

You need to add a CNAME/ALIAS record to your DNS that redirects
*.mydomain.com to mydomain.com.

Cheers,
Brett