• erexweb

    (@erexweb)


    Hi,
    I am trying to do wildcard subdomain redirects to some of my alias domains, but they all just redirect to the primary domain. How can I get them to redirect to the alias?

    Let me explain. Basically, I currently have three sites in my multisite with their own domain mapped in wordpress to them. Example:

    Bicycle Site 1 – bicyclesite1.com (cpanel primary)
    Car Site 2 – carsite2.net (cpanel alias)
    Clothing Site 3 – clothingsite3.de (cpanel alias)

    Now I wanted to create subdomain wildcards, for example if someone types in something wrong as a subdomain, they would be redirected to the actual domain.

    I created wildcard subdomains in cpanel and tried redirecting them. And it worked for the primary domain:
    *.bicyclesite1.com redirects correctly to bicyclesite1.com
    !!!BUT!!!
    *.carsite2.net redirects incorrectly to bicyclesite1.com
    *.clothingsite3.de redirects incorrectly to bicyclesite1.com

    I want

    *.carsite2.net to go to carsite2.net
    *.clothingsite3.de to go to clothingsite3.de

    How can I do that?

    Thanks for any advice!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to do subdomain wildcard for alias domains?’ is closed to new replies.