How to create dynamic Subdomain in .htaccess file?
Can any one help me how to write Rewrite Rule for it ?
when user open www.example.com then open index.php
if user open www.username.example.com then open profile.php (with user name record)
If some developer use attractive contents in the web development then it will be better for that developer
if there is anybody interested in the development then i appreciate those guys
Sounds like you're for subdomain redirect
Also, you'll need a DNS wildcard A record for a catch-all domain, *.domain.com as well as edit httpd.conf to have a ServerAlias *.domain.com (assuming you are on apache).
However, I'm a newbie.
Is the DNS Wildcard an A Record? or a CNAME record?
I use godaddy, here is a screen shot of their Total DNS Wizard. Is the first - the Wildcard DNS (with asterisk)? Thanks.