Forum Moderators: phranque

Message Too Old, No Replies

subdomain with htaccess

mod rewrite sub domain

         

hanyaz

11:50 pm on Nov 9, 2007 (gmt 0)

10+ Year Member



hello
is it possible to create subdomains just with htaccess rules?
yaz

jdMorgan

12:01 am on Nov 10, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, you need to set up wild-card DNS in your DNS zone file, and your server must be configured to support wild-card subdomains as well. Once this is done, you can 'point' subdomains to subdirectories using mod_rewrite in .htaccess or by using your 'control panel' to define 'add-on' domains.

Jim