New domain pointing to old site.

Discussion in 'Site & Server Administration' started by dpatel304, Feb 28, 2008.

  1. #1
    First off, I'm not sure if this is the right forum to post it in, so I apologize if it is in the wrong forum:

    I have two domains on hostgator. The second one was just added, and, for some reason, when I enter in the domain, it points to my first site. So, when I enter 'mysecondsite.net', it directs me to 'myfirstsite.com'. My second site will work if I enter the url like this: mysecondsite.net/index.php, so the site seems to be working correctly.

    Under cpanel, I added the second domain using 'addon domains'. I tried to redirect mysecondsite.net to mysecondsite.net/index.php, but it just creates an error for both mysecondsite.net/index.php and mysecondsite.net when I do that.

    Any help would be greatly appreciated, thanks.
     
    dpatel304, Feb 28, 2008 IP
  2. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #2
    cPanel will create subdomain for each add-on domain. Have you seen it there, in your firstdomain public_html folder?
     
    gate2vn, Feb 29, 2008 IP