Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We've got site at a subdomain (new.example.com) and previous version of the site at the root (example.com). The previous version is a WordPress network with wildcard subdomains. The static subdomain was created in Plesk 10 and works fine (we've got a zzz-wildcard.conf file with the verified correct settings).

Our problem right now, and it's a silly one, is that some site users are attempting to access the subdomain through www.new.example.com, which rather than redirecting to new.example.com, is intercepted by example.com.

How should we setup our server to intercept this request and route it to the correct location?

share|improve this question

1 Answer 1

Why do not you use a "sub-wildcard-subdomain"?

*.new.example.com CNAME new.example.com

That should do the trick

share|improve this answer
    
Hmm...will give that a try. We've added www.new.example.com CNAME new.exmaple.com with no luck –  ToddSmithSalter Apr 19 '13 at 20:43
    
Nope, that definitely didn't work. The WordPress multisite still intercepts the request. –  ToddSmithSalter Apr 19 '13 at 20:50
    
So why not a ServerAlias or a Redirect Permant –  maxxvw Apr 20 '13 at 18:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.