Answer the question
In order to leave comments, you need to log in
Which option is better to use for subdomains of the main site?
There is a main domain and there is a desire to make a second site, but already on a subdomain of this domain. I wanted to connect these two sites to one database by adding a perfix so that the tables are separate. (DLE capability). Is this approach normal or is it better to create a separate database? Perhaps and most likely there will be more such sites on subdomains. I want to know how normal this is?
I am using fastpanel.
I now have 4 sites there and for each a separate database with its own user. Is this the norm? When I did this, I thought about security, saying that if one is hacked, then other databases use other passwords. Although, as for me, if the database of one site is hacked, then I think they are "within a stone's throw" to others)
Answer the question
In order to leave comments, you need to log in
I would like to make a single registration, if they create an account on the basis, then they can easily go to subdomains and the same data. Tell me, is there any point in such acts, or is it better to make a separate database for them?
I would also like to know, now I have 4 sites there and each site has its own database and each database uses its own user, is this approach normal or is it better to make one user for all these databases?
Also, each site has its own owner, and not one common one, does this somehow affect server performance?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question