I have the following issues with subdomains in my hosting:
Is it possible to redirect these non-existing subdomains to the correct subdomain while keeping the URL segment? Can it be done through .htaccess?
I put this line on .htaccess, but it doesn't work and causes a redirect if I access shop.abc.com
RewriteRule ^ http://shop.abc.com%{REQUEST_URI} [R=301,QSA,L]
Thanks.
simply add " *.shop.abc.com" host and point it to where ever you want.