Using Virtual Domains with WordPress and Cherokee Web Server

Posted by ikevinjp on Server Fault See other posts from Server Fault or by ikevinjp
Published on 2012-10-24T16:11:22Z Indexed on 2012/10/24 17:03 UTC
Read the original article Hit count: 275

I'm trying to configure WordPress to work with Cherokee Web Server. The multi-site set up in WordPress is yyy.com and uses 'sub-domains'. Thus, I have sites like aaa.yyy.com, bbb.yyy.com - they all work fine so far.

However, I have another completely different domain: abcde.com. Within WordPress, the sub-domain set up is abcde.yyy.com. When a public user accesses abcde.com, it cannot properly be redirected to the WordPress sub-domain abcde.yyy.com.

How do I set up Cherokee to properly redirect virtual domains to WordPress? That means, the domain facing public would be abcde.com but WordPress would want to see abcde.yyy.com to properly return the correct content for the specific site.

(I tried and it always get redirected to something like this: "http://yyy.com/wp-signup.php?new=abcde.com")

© Server Fault or respective owner

Related posts about rewrite

Related posts about Wordpress