Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

All user can add subdomain of main domain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
Norlan
Posts: 2
Joined: Fri Oct 17, 2014 1:29 pm

All user can add subdomain of main domain
  • Quote

Post by Norlan » Fri Oct 17, 2014 1:37 pm

Hello,

Sorry for my english but i'm french.

I have a problem with subdomain. I have add a domain (domaine.tld for example) with my admin account, but if I create new user, this new user can use a subdomain with domaine.tld (exemple subdomain.domaine.tld).

I would like the new user can't use my domain for create subdomain.

Do you have solution please ?
Top

krok
Posts: 65
Joined: Wed Oct 01, 2014 10:58 am

Re: All user can add subdomain of main domain
  • Quote

Post by krok » Mon Oct 20, 2014 12:20 am

Im interested in this too. Any?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: All user can add subdomain of main domain
  • Quote

Post by imperio » Wed Dec 10, 2014 1:55 pm

This is not an error. It was meant to be. This is a convenient way to divide the subdomains by independent accounts. When the subdomains are posted, it reduces the risks from possible break-ins. As far as abuse, then the problem is in the area of responsibility of the server administrator. If someone uses this function, unlawful, these users need to block or remove it completely.
Top

Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: All user can add subdomain of main domain
  • Quote

Post by Felix » Fri Jan 22, 2016 10:49 am

Cross-posting my reply here...

imperio I can understand the need to divide the subdomains but this shouldn't be allowed unconditionally!! For example, if User1 has domain.com and User2 needs to create xxx.domain.com, there SHOULD be a check if User1 allows this subdomain to be created by User2.

This could be implemented with a check box field when creating a new domain, that would allow -if checked- subdomains to be created by different users. Default should be NOT to allow subdomains to be created by different users because to my understanding this could be a huge security issue (scam, phishing, and lots of other threats)
Top

nobodypb
Posts: 9
Joined: Fri Jun 26, 2015 6:12 am

Re: All user can add subdomain of main domain
  • Quote

Post by nobodypb » Thu Feb 04, 2016 12:35 pm

I just noticed this too and I'm considering this to be a huge issue.
It isn't always possible to monitor the activities of users in realtime, so there always could be a short period in which a unauthorized user could run a subdomain. Even short periods could cause major security concerns.
For example phishing attacks or to steal cookies shared across subdomains.

I agree with Felix that this has to be addressed and there should be a check if I want to allow this for a particular domain.
Top

Spheerys
Posts: 225
Joined: Tue Dec 29, 2015 12:36 pm

Os: Debian 7x
Web: apache + nginx
Re: All user can add subdomain of main domain
  • Quote

Post by Spheerys » Sat Feb 06, 2016 10:31 pm

I'm agree with nobodypb and Felix.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: All user can add subdomain of main domain
  • Quote

Post by skurudo » Sun Feb 07, 2016 6:27 pm

Ok, I see. We'll discuss this topic again.
I think too, it's no always good.
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: All user can add subdomain of main domain
  • Quote

Post by SS88 » Sun Feb 07, 2016 11:32 pm

skurudo wrote:Ok, I see. We'll discuss this topic again.
I think too, it's no always good.
I currently use this set-up where multiple accounts use sub domains of a single domain; so if this is implemented the need for that checkbox is needed otherwise my current set-up would fail at some point.
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password