I would like to setup a store in Magento 2.2 that is accessible from a subdomain.
example.co.za (main site - Fully Functional and Working)
a.example.co.za (store with unique categories etc)
I have created the store and store views, updated the base and secure URLs in the admin. I have also set the "Add store code to urls" to "Yes"
I have also linked them to the folders in the Primary domain using the following SSH:
ln -s ../app/ app
ln -s ../lib/ lib
ln -s ../pub/ pub
ln -s ../var/ var
MyIissue seems to be the code i put into the index.php
and .htaccess
files.
These files where copied from the primary domain.