I'm having a vexing problem and I'm hoping someone can help me out.
First, I've successfully installed WordPress Network of Sites. I've been able to set up a few subdomains with ease. My problems are:
1. I would like to have one of my subdomains redirect to the primary site or alternatively, have my primary site redirect to one of my subdomains. For example,
How do I go about doing this with this plug-in? Note, I've been able to successfully install the plug-in, however, I'm stumped on how to set the above scenario up. Some experimentation has resulted in the wrong subdomains being mapped and in another experiment, if I select a Site ID with a higher number than domains than I actually have, I lose access to the log-in page for administration of my network sites.
2. The package for my domain registrar & hosting provider (both at networksolutions.com) allows for a primary domain with multiple domains mapped to my hosting account. So, for example, abc.com would be my primary domain and its web files would be served from the root of my file directory from my hosting account. And xyz.com would be another domain, however, files would be served from a subdirectory within the root - something like /xyz_com/. The IP address would be the same for both domains as they point to the same hosting account. Too, I'm allowed multiple subdomains for each domain and I can create subdirectories for subdomains from which to serve web files from. In this scenario, my questions are:
A. If I set up WordPress for a Network of Sites in the subdirectory for xyz.com, can I map abc.com, the "main domain" for my account, from a subdomain within xyz_com?
That is, my hosting file structure is:
/htdocs/ (web files for abc.com reside in the root)
/xyz.com (web files for xyz.com are served from a subdirectory; also the install location for WordPress)
The rationale for installing WordPress in a subdirectory is such that it will allow me the flexible option to use a non-wp designed website for abc.com by allowing me to turn-off domain mapping from the wordpress installation in the subdirectory for this site and allowing standard html pages to be served from the root.
B. Given the above, can I still map other domains from other domain registrars by simply editing the A record in the DNS settings? Or do I just need to add a CNAME record?
Thanks! If I can anybody can help me out, I'd greatly appreciate it. Too, I'll try to post an updated tutorial to help anybody else out in a similar circumstance if I can get this all sorted out on my end. Agan, thanks!