Hi All,
I am having a hosting account with a dedicated IP and support for addon domains.
I am hosting a website on hosting root Domain1.com. I have setup wildcarded DNS and it is working fine.
I have some addon domains which are having their hosting paths under the root like
Domain2.com...............> Hosting root/domain2folder
Domain3.com...............> Hosting root/domain3folder
I have created wildcarded DNS entries for these addon domains also pointing to the same IP as the primary domain.
Now the problem is for all the subdomains of addon domains I am getting the main domains homepage as it is pointing to same IP.
Can I make changes to .htaccess of primary domain so that for all the addon domains it will go to their corresponding subdirectories instead of the root.
Thanks & Regards
Chandu