Results 1 to 2 of 2
  1. #1

    Directory to Subdomain (.htaccess)


    I was looking for help so that i can make my directory appear as a subdomain.

    Say, I have a directory -
    and i want people to use that directory through -

    I know this can be possible if I redirect my users through header() function in php with wilcarded domains. But i wanted it to act like a real subdomain.

    Is it possible?

    As far as i know, this can be done editing .htaccess. but i dont know how to do it.

    I have got full confidence that is doing sth like that. They are using one set of joomla (even 1 database) and giving out hosting for all for free.

    I dont want any hosting script. I just need that directory turned into subdomain script.

    Fahad - a blog from a web addict

  2. #2
    Join Date
    Sep 2005
    Southern California
    Depends how picky you are about it.

    redirect permanent /yourdirectory

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts