[PHP]Is it mod_rewrite?

I am unsure, never tried...I don't think it is mod_rewrite though.

Mod_rewrite is for the part AFTER the domain name, nothing IN the domain name.
 
I know for one you can make it a rule in Apache using the vhosts. Undoubtedly they have some variant of another on that :smile:
Not only the vhost rules. Also you must to add the A-record into DNS zone or point this subdomain to server using A-record.
 
In my webhost for thamob.nl I can add unlimited sub-directories that'll show up like:
dir.thamob.nl
Does that work with some mod_rewrite rule?
If so, how?

Thanks,

EliteGM.
i remember reading it somewhere
BUT it won't actually be a subdomain, it will be like
any requests to hi.codingsource.co.cc will go to codingsource.co.cc/sub.php?id=hi
Open your .htaccess
and type:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)$.codingsource.co.cc sub.php?id=$1 [NC]
something like that
 
Back