help with my .htaccess

Using a single web hosting account to host multiple sites

help with my .htaccess

Postby spiderwebs » Mon Aug 24, 2009 7:41 am

Hello all,

i am writing script for wap community and want one feature that if user register at my site got a personal url/homepage and url for that user will be username.mydomain.com can any one tell me what should i rewrite in my .htacess
spiderwebs
 
Posts: 3
Joined: Mon Aug 24, 2009 7:05 am

Postby richardk » Mon Aug 24, 2009 1:59 pm

FAQ: Virtual sub domains. Post back here if you have any questions.

can any one tell me what should i rewrite in my .htacess

It requires more than just mod_rewrite.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby spiderwebs » Wed Aug 26, 2009 11:50 am

what it need more m8? can u explain? i just want that if i register at my site i get subdomain/ personal homepage on url http://spiderwebs.mydomain.com
spiderwebs
 
Posts: 3
Joined: Mon Aug 24, 2009 7:05 am

Postby richardk » Sat Aug 29, 2009 1:52 pm

The FAQ wrote:Note: this will only work if you have DNS for the sub domains (probably Wildcard DNS) and the server configured to send the requests to the same document root.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 21 guests

cron