Addon Domain help

Discussion in 'Site & Server Administration' started by MilesB, Oct 12, 2008.

  1. #1
    Say I'm on shared hosting and my main domain is domain1.com.
    I bought new domain2.com and had to used as an addon to path /home/username/domain2/. however the setting of paths with the script Iwas using was confusing as it was not in the public_html folder.

    Now I have set domain2.com to /public_html/domain2/ However when I visit the domain2.com I see domain1.com/domain2/ in the url. How can I make it so it does not do that to URL?
     
    MilesB, Oct 12, 2008 IP
  2. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #2
    Addon domains do two things. First thing is that it creates a sub domain. Then it creates a TLD (Top Level Domain).

    The path for your domain will be .../username/public_html/newdomain.tld/
     
    !Unreal, Oct 12, 2008 IP