Multiple Blogs without wildcard DNS
-
Hi,
I am trying to setup multiple subdomains to be able to access a single WP installation. However, I would like to have my users have their separate sets of folders too.
If I put in a wild card serverAlias in the apache httpd virtual host section, all subdomains (each belonging to a different user) shall share a common DocumentRoot (undesirable). Is there a way to get around this?
What I tried on my domain tree:
domain.com/wpress ->The actual Installation (Blog 1)
user1.domain.com/wpress -> A subdomain installation (Blog 2)
user2.domain.com -> (Blog 3) Note there is no /wpress folder.Here, the DocumentRoot of user2 is a symbolic link to domain.com/wpress. Logging in causes it look for user2.domain.com/wpress/wp-admin although the blog renders at user2.domain.com
This led me to create another symbolic link called
wpress
in the wpress folder linking it to itself. Things either ended up with a 500 error or an infinite loop of login forms.Does anyone have any suggestions to achieve the desired effect (keep user spaces separate) ?
- The topic ‘Multiple Blogs without wildcard DNS’ is closed to new replies.