I have a second website stored in the root of my main website. It’s a subdomain with its own URL
I want users to access the second website via a URL eg
but not via the first website eg
Can this be done via .htaccess? If so where do I put the .htaccess file: in the root of the main site or the root of the subdirectory/domain?