Results 1 to 2 of 2
  1. #1

    subdomain to directory

    Hi,

    I was wondering if someone could explain to me how domain(dot)com/dir/ can be accessed from dir(dot)domain(dot)com

    I'm running apache2 over ubuntu 6.1 and my DNS is set to accept wildcards...

    any help is appreciated.

  2. #2
    Join Date
    Sep 2005
    Location
    Southern California
    Posts
    179
    You need to set up a virtual host for the subdomain, and set the documentroot to the directory.

    As far as apache is concerned, the domain.com/dir and sub.domain.com are completely separate sites, even though one is inside the other.

Posting Permissions

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