htaccess subdomain mod rewrite silent redirect

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
eugene2008
Forum Newbie
Posts: 21
Joined: Sat Jul 01, 2006 3:07 pm

htaccess subdomain mod rewrite silent redirect

Post by eugene2008 »

hello!
i have a website with multi forum http://talkorchat.com/

when new forum with login "zzz" is done it looks like this
http://talkorchat.com/zzz/

i want to make it look like a subdomain, so it would be always like this
http://zzz.talkorchat.com/

how to do that with .htaccess modrewrite?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Have a look at the Usefull Resources sticky in this (Apache, IIS, Web Servers) forum. There is a mod_rewrite cheatsheet that should be able to help you get started. Also, search these forums for 'mod_rewrite' and you should get some results back. This isn't the first time this context of question has been asked.
Post Reply