I created a WP site like domain.com (hostname is www.domain.com). This isn’t multisite, just standalone.
I have another standalone site on this box, another.com.
Now I need to setup a general non-public “service” type of app (not WP, just general PHP/mySQL pages similar to PHP MyAdmin, it’ll be used only by Admin for some non-WP stuff).
a) Should I create this as subdomain, say myapp.domain.com?
If yes, do I just do “ee create site myapp.domain.com” --mysql"?
or…
b) If I shouldn’t tie this to a domain that’s used in production, can I create this as domain.com/myapp? If yes, do I just put my stuff in /var/www/domain.com/htdocs/myapp?
Or is there some third, better way?
Personally I prefer B) as I’m hoping that I can just paste code into a random directory.
Assuming I don’t have any plans to use ee to delete domain.com, this would be easier as I have less DNS and sites to manage.