Sites are sharing the same directory?

Rmarmorstein

Member
Nov 15, 2013
13
0
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...
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
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.
 

Rmarmorstein

Member
Nov 15, 2013
13
0
1
cPanel Access Level
Root Administrator
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.
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.
 

iserversupport

Well-Known Member
Nov 4, 2013
92
0
56
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
 

Rmarmorstein

Member
Nov 15, 2013
13
0
1
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
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.
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
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,
Why did you create an FTP account here at this step? Logging in as that cPanel user via FTP should work fine.

however, when i setup domain.net, it shows the domain.org page, even after uploading a webpage to it's public_html folder.
Did you login with that 2nd cPanel user account or did you create an additional FTP account here as well?
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Just the IP address shows the MineWarn site,
So the first one has a dedicated IP it sounds like to me.
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.
And the second one is sharing the IP.

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.
It's on the main, shared IP it sounds like.