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?

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

Alastair

Austin,

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

Cheers, Brett