Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2001
    Location
    Kansas City, MO
    Posts
    366

    Help pointing a domain name to a specific directory

    I have a customer who has their main domain on their account and then a second domain that they want to go to a directory within their account. They do not want it forwarded but want it to show as the domain when someone visits the site. Such as

    www.whatever.com instead of it being redirected to

    www.maindomain.com/whatever

    I know there is a way to do this with Cpanel/WHM but I am not sure how. Can anyone enlighten me?

    Thanks,
    Andrew

  2. #2
    First you create a subsomain account whatever.maindomain.com in WHM then you park whatever.com on whatever.maindomain.com
    AceWebHosting.Com
    Cheap Web Hosting - Multiple Domain Hosting - Reseller Hosting - Virtual Private Server

  3. #3
    Ah because you want whatever.com to go to sub-directory whatever in the maindomain.com account you need to change DocumentRoot (in the httpd.conf) of whatever.maindomain.com to the path of this sub-directory.
    AceWebHosting.Com
    Cheap Web Hosting - Multiple Domain Hosting - Reseller Hosting - Virtual Private Server

Posting Permissions

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