Forum Moderators: phranque

Message Too Old, No Replies

multiple sub-domains with mod rewrite

         

figment88

9:35 pm on Nov 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm transfering a site that has subdomains to another ISP I use. This created the problems that I have multiple subdomains.

such as:
subdomain1.site1.com
subdomain2.site1.com

Tranfer site1 to domain pointer at other ISP
site1.site2.com

How can I get my subdomains to work using mod_rewrite so

http://subdomain1.site1.com gets files from

www/site2/site1/subdomain1

thanks

[edited by: jdMorgan at 5:16 am (utc) on Nov. 22, 2003]
[edit reason] De-linked [/edit]

jdMorgan

5:17 am on Nov 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



figment88,

This thread [webmasterworld.com] and our Introduction to mod_rewrite [webmasterworld.com] should get you started.

Jim