I'm encountering challenges with domain mapping in a WordPress multisite environment. My subsite domain, set up as an alias in Plesk to the primary domain, either redirects to the primary domain or to the Plesk login page. I've tried various configurations and followed multiple guides, but the issue persists. Here are the specifics of my setup and the problem:

Plesk Configuration:

  • The subsite (subsite.com) is configured in Plesk as an alias domain
    to the primary domain (primarydomain.com).
  • Both domains share the same document root: /httpdocs/.
  • SSL certificates are valid and active for both domains.
  • DNS settings for subsite.com point to the same server as primarydomain.com.

WordPress Multisite Settings:

  • In the WordPress Multisite Network Admin, I updated the site URL for the subsite to be https://subsite.com/ (not actual domain).

Current Issues:

  • Accessing subsite.com results in a redirect to primarydomain.com.

I'm looking for guidance on resolving these redirection issues in a WordPress multisite with domain aliasing in Plesk. Any insights or suggestions on how to properly configure this setup would be greatly appreciated.

  • when you say domain mapping can you be specific? There are several things that could mean that all have massive consequences for your question. Also when you say subsite root domain what does that mean? Try to avoid generic/abstract terms and focus instead on hard concrete examples, e.g. reference actual URLs even if it's just site1.com or one.example.com to avoid ambiguity/confusion
    – Tom J Nowell
    Commented Jan 21 at 16:02
  • This is in the context of a WordPress Multisite where i want to use a TLD such as example.com as one of the subsite urls.
    – Amesey
    Commented Jan 21 at 18:45
  • can you edit your question to add that information as well as the other things i mentioned and specific examples so that it's clear what you mean? Most people don't look at the comments! Don't assume that knowing example.com is one of the subsite URLs means that we'll know what the others are, it's very ambiguous and unclear right now and everything is implied or assumed. Assume we're 5 year olds and say things outright so the reader doesn't have to figure it out
    – Tom J Nowell
    Commented Jan 21 at 19:02
  • Thanks Tom, i've now updated the question. Could you let me know if that makes more sense, please? :)
    – Amesey
    Commented Jan 21 at 20:10
  • Are you sure that you haven't told Plesk to redirect the request to primarysite.com and so WP never sees the subsite domain? Setting an alias in plesk might mean something very different to what you thought, WP is already able to handle requests from multiple domains, they just need routing to WordPress on the filesystem
    – Tom J Nowell
    Commented Jan 21 at 20:25


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.