I am trying to create folder on my site which is named demo
so www.mysite.com/demo/afile.html
but i want it so it looks like demo.mysite.com/afile.html
i have edited the htaccess file that was already created by wordpress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_HOST} ^demo\.mysite\.com$
RewriteCond %{REQUEST_URI} !^/demo/
RewriteRule (.*) /demo/$1
</IfModule>
# END WordPress
But when i go to demo.mysite.com/afile.html its not found. What am i doing wrong