Hi! I created a Vhost sub-domain, the folder name.example.com will be created but filled with the same content of my website! How do I get a clean /web folder for my sub-domain, so I can use for such as nextcloud? Thank you, for the advice!
You just add the subdomain as a website, not as a subdomain. Alternately, you could set the subdomain to use a different folder.
I read this about creating the subdomain as a website. The problem is cloudflare, I have to configure everything new in cloudflare only for this subdomain. How I can set up a different folder?
The trick with CF is to only set one domain per account. e.g. create and use [email protected] as an account and use only that domain.tld and its sub in that account. If all sub domain are in one web server, simply use wildcard to point to it. Even if few other sub domain point to other server, that also work as specific sub domain will be resolved first prior to wildcard sub domain. I manage few domains this way and so far, very seldom I have to re-visit any of their CF accounts.
It is working now! The subdomain with its own web was the best solution! Cloudflare also working with this solution!