Mobile app version of vmapp.org
Login or Join
Moriarity557

: CPanel - prevent addon user from accessing main root I have an unlimited cPanel shared hosting account, which I stopped using since I moved on to VPS. I can still access the account, and kept

@Moriarity557

Posted in: #AddOnDomain #Cpanel #SharedHosting

I have an unlimited cPanel shared hosting account, which I stopped using since I moved on to VPS. I can still access the account, and kept the files undeleted as a backup. Since I have addons enabled, I though I can allow some other people to host their sites on my account (yes, I can run a shared hosting service using my VPS, but I try to keep it isolated and lightweight).

But the problem is, when I tried to access the cPanel of one of my existing addon domains, I was able to access the document root of my main site. This means if I setup an addon domain for somebody else, they might be able to access the main root also. How to prevent this from happening?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Moriarity557

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ogunnowo487

...they might be able to access the main root also


Yes, that is how cPanel's Addon domains work. They are simply additional (ie. "add-on") domains on the main account. You can't restrict access.

In order to restrict access, you would need to create another "account". eg. As a "reseller".

Related question:
with PHP: How to restrict access from one Addon domain to another?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme