I have installed wordpress multisite on my server like so:
I have set up "sub" sites on sub directories,like so:
My server is a shared dreamhost,my version is 3.4.2,and I am using the Domain Mapping plugin. I have enabled sunrise,and my network is working correctly on its own. My IP for all sites is the same.
I would like to redirect or map my sub sites to their respective domains which are also hosted on dreamhost,like so:
(primary) http://www.primarysite.com/newsite1 --> (target) http://www.newsite1.com
http://www.primarysite.com/newsite2 --> http://www.newsite2.com
http://www.primarysite.com/newsite3 --> http://www.newsite3.com
I tried "fully hosting" both the primary domain and the target domain and then mapping the domain from the wordpress control panel. This did not work.
I attempted to remove hosting from the target domain,place it as a mirror of my primary domain,but this is not successful either.
I also attempted to change the "site" settings,replacing with the "real" domain name but this only furthered my issues.
I then removed hosting from the target domain and just added an "A" record pointing to my IP for my host,however this does not work,either.This is what the source code looks like now that I have just placed the "a" record on the domain:
var reg = 'sedonewreg';
Also,I tried with no success to change my file directory in my target domain settings to the root folder of the primary domain,but I did not have success in that.
Is there a way to do this with subdirectories on dreamhost? Bear in mind they will not let me do wildcard DNS settings,so I feel a bit at a loss. Any suggestions would help!