What does server question have to do with how magento works!? You suggesting using htaccess only tells me you would run apache web server. Subdomains are easy to setup depending on what access you have to this server, if it has a panel of some sort (cpanel, webmin, plesk, etc.), else use ssh and edit the webserver config to add virtual hosts.
|