How to create Sub Domain with .htaccess
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
At least 98% of internet users' DNA is identical to that of chimpanzees
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).
Unless code is provided or an exact example is requested I think I'm going to start using psuedo code from now on...
Also, I freelance as well. Inquire within!
I'm trying to do this now so I can run drupal on multiple subdomains.
Originally Posted by Shorts
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)