Honesty Rocks! truth rules.

.htaccess

HOME      >>       Programming

Tazr

How do I make subdomains using a .htaccess file?Like "Example.Domain.com"I remember I was able to make a .htaccess file with some stuff in it that allowed it to do it, but I dont remember how.any help would be appreciated =)


jlhaslip

.htaccess doesn't do the Add-on account thing. There is a selection for Add-on and Parked accounts in the Control Panel of your account.What you might be thinking of is Mod_Rewrite using .htaccess. That directive changes your URL's to be more readable, but it doesn't make add-on accounts. As far as I know...


Tazr

It must of been a rewrite cause it pointed to a folder like domain.com/example which you'd do example.domain.com and it would take you to that folder.


jlhaslip

Mod_rewrite is good for 'masking' the Query string, turning this:domain.com/forums?uid=123&f=234&t=987 into something like:domain.com/forums/123/234/987 but it could be alphabetical, too.