Hello, I have just created a new subdomain on my shared hosting static.example.com but it has also create a new folder www.example.com/static/ . How can I remove that folder ? I want just the subdomain.
When you create a subdomain, a folder will be created to store the contents of the subdomain. You need a folder somewhere to store the contents of the subdomain.
you can park it on to the main domain, than use .htaccess to point it to whatever folder you like (for example folder with your static images)