What is best option adding extra domain or add subdomain

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
106
On question.

For my website we will make an app and webplatform. I need additional FTP login to a dedicated folder, this has nothing to do with my main website.

What is the best option?
Make an extra domain in the account of my website (Domain setup). Or is it best to make 'normal' subdomain of that domain?

Domain setup vs Subdomain Management. What is best option? Any important differences?

Normal website is accessable via https://www.mydomain.com
Webplatform will be accessabel via https://app.mydomain.com


Thanks for your advice.
 
I always like to create a separate domain (not subdomain) for these situations. That way you have separate Apache/Nginx configs so you can setup or configure both apps differently if you wish. Because it's the same user both domains can "talk" to each other, for example I have a setup where I have a separate domain for assets. I can set the root directory for that assets domain to a directory that exists on the other (main app) domain.

Sub domain should work, but I like to separate both "apps".
 
Hello,

I add subdomains as separate domains and even under separate user accounts. It's very useful if I need to exclude any user or domain from backups, or want different PHP versions.
 
Thanks for the advice. Will add subdomain as seperate domain under another user account.
 
Back
Top