Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2002
    Location
    Denmark
    Posts
    4

    Pointing domin.com to domain2.com/dir/

    Is there a way of changing the root directory of a site?

    eg.:
    Default: www.domain.com -> /home/sites/www.domain.com

    New site: www.domain.com -> /home/sites/www.domain2.com/web/directory

    So domain.com would actually be served from domain2.com/directory/ but the URL would NOT change.

    molsted

  2. #2
    Join Date
    May 2002
    Posts
    344
    If using apache, change the line in httpd.conf for that virtual host.

    Code:
    DocumentRoot /home/sites/www.domain2.com/web/directory
    Hope this helps
    Chris Miller
    PromoPunch
    Custom Imprinted Promotional Products
    www.promopunch.com 1-800-750-8530 x221

Posting Permissions

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