The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon Domains

Discussion in 'General Discussion' started by Alexj17, May 23, 2005.

  1. Alexj17

    Alexj17 Member

    Joined:
    Apr 21, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    I have succesfully set up a second domain name with the same space. I have redriected it to a folder but when when it redirects it brings up my original domain and folder name in the address bar. How can i stop this happedning and keep my new domain name in there??

    Thank You
    Alex James
     
  2. RoboCop777

    RoboCop777 Member

    Joined:
    Dec 6, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Did you check Apache's httpd.conf. Maybe you can find your solution in there. :)
     
  3. Alexj17

    Alexj17 Member

    Joined:
    Apr 21, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    just looked at some apatche thing then but it really makes no sense to me,
     
  4. Alexj17

    Alexj17 Member

    Joined:
    Apr 21, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    anyone got any new ideas?
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Depend what you did originally. Did you setup an addon-on domain or a parked domain? If the latter, you should probably remove it and add it as an add-on domain which should point the domain to a subdirectory of your main account. If that is what you have done, then you do indeed need to edit your httpd.conf nad check the VritualHost for the domain in question and make sure that the DocumentRoot is pointing to the correct directory.

    Once done, you might want to have a look at the apache.org site and read up on apache and its directives.
     
Loading...

Share This Page