I would like to access my index.php file from any subdomain
example:
anything.mywebsite.com >>> index.php
Is it possible to do that with just a htaccess ?
I would like to access my index.php file from any subdomain
example:
anything.mywebsite.com >>> index.php
Is it possible to do that with just a htaccess ?
You can achieve that in your virtual host configuration. Example for Apache:
<VirtualHost *:80>
ServerName something.mywebsite.com
ServerAlias anything.mywebsite.com
ServerAlias anything-else.mywebsite.com
...other VHost settings...
</VirtualHost>