2 domains to 2 directories

Discussion in 'Free Hosting' started by zweifel, May 28, 2010.

Thread Status:
Not open for further replies.
  1. zweifel

    zweifel New Member

    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Is it possible to have 2 domains pointing to 2 different directories?
     
  2. descalzo

    descalzo Grim Squeaker Community Support

    Messages:
    9,375
    Likes Received:
    327
    Trophy Points:
    83
    Your main domain will point to public_html

    When you use the "add-on" feature, the add-on domain will point to a subdirectory of public_html

    You can have up to 3 add-on domains, for a total of 4 domains with separate information.

    So, main.com will point to public_html
    son.com can point to public_html/son
    daughter.com can point to public_html/daughter
    mistress.com can point to public_html/mistress

    Note that the system default is to make the subdirectory the same name as the domain. ie if you add google.co.cc , the default directory will be public_html/google.co.cc . You can change the default when you create the add-on

    To make sure that they do not access son.com/index.html via main.com/son/index.html , you have to adjust the .htaccess file.
     
  3. zweifel

    zweifel New Member

    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
Thread Status:
Not open for further replies.

Share This Page