Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Sites are sharing the same directory?

Discussion in 'General Discussion' started by Rmarmorstein, Nov 15, 2013.

  1. Rmarmorstein

    Rmarmorstein Member

    Joined:
    Nov 15, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello, I've installed cpanel manually after having some similar issues with the Automatic installation that my hosting company offered. This time, I'm having an issue with the domain names that I add all sharing 1 directory.

    I've followed the installation instructions exactly as they are on the site, and I started with a fresh install of CentOS 6.

    I've added the domains in WHM, as I would with any other instance of WHM, and then I log in to CPanel, and create an FTP account, for /public_html/, which, should be the site's root directory. But, it is sharing that directory with the other sites that I have added.

    What should I do to fix this? This is about the 10'th time I've reinstalled cpanel...
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,261
    Likes Received:
    390
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    When you create a new account in WHM, that cPanel account has FTP access. If you create additional Addon Domains to that same account, and login as the main cPanel User, you will have access to the new account, and the new Addon Domains associated with it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Rmarmorstein

    Rmarmorstein Member

    Joined:
    Nov 15, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    No, The 2 domains that I'm trying to host are domain.org, and domain.net; Both are have their own Cpanel accounts. I setup domain.org first, made an ftp account for public_html, then uploaded my site, it works fine, however, when i setup domain.net, it shows the domain.org page, even after uploading a webpage to it's public_html folder.
     
  4. iserversupport

    iserversupport Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    I suggest you to test each domain document root by accessing

    http://ipaddress/~username

    check it with both username.

    Also put a test.html file with different content and see if its loading from appropriate document root

    If its different i think you uploaded the same content for both website
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Rmarmorstein

    Rmarmorstein Member

    Joined:
    Nov 15, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just the IP address shows the MineWarn site, however the IP/~username/ shows the other site. It's not the same content, one site has a 3000+ file xenforo site, the other one is 2 html files.

    I guess I'm a step further, but, how can i get the MineWarn site off the ip address, it seems to be the default page for all the sites too.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,261
    Likes Received:
    390
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Why did you create an FTP account here at this step? Logging in as that cPanel user via FTP should work fine.

    Did you login with that 2nd cPanel user account or did you create an additional FTP account here as well?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,261
    Likes Received:
    390
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    So the first one has a dedicated IP it sounds like to me.
    And the second one is sharing the IP.

    It's on the main, shared IP it sounds like.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice