Forum Moderators: phranque

Message Too Old, No Replies

Accessing Virtual sub-domain using .htaccess

Virtual sub-domain

         

mubasharw

8:17 am on Feb 1, 2007 (gmt 0)

10+ Year Member



Hi,

I will be very thankful to you if you solve my problem relating virtual sub-domain and .htaccess.

For my site I want to create virtual sub-domain for every registered employee on the fly, e.g. user information access on my site as [mydomain.com?user=1005...] and I want to access this page as [user1005.mydomain.com....] Can any one solve my this problem…?

One thing more…I want the same work on the permanent sub-domain also.. which is created on my site as [ar.mydomain.com?user=1005...] where ar is the sub-domain folder which I created using C-Panel, and this user can be accessed as . [user1005.ar.mydomain.com...]

Thanks in advance.

Muabshar

jdMorgan

2:21 pm on Feb 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Muabshar,

Welcome to WebmasterWorld!

This search [google.com] should help you get started.

Jim