• I have a domain with WordPress that’s essentially private. In this scenario I have a page for each client’s landing page (let’s say its my-domain.com/client). Do you know how I can configure the client’s domain so we can do something like: landing.clients-domain.com and have it load my-domain.com/client?

    I think I’m looking for a CNAME? I’m not looking to have the URL’s redirect but instead to have content from my-domain.com/client served at landing.clients-domain.com

    Any thoughts?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    A separate domain different than yours that serves your WP page as a landing page, but otherwise is a different site? The external site could serve your WP page through an iframe, provided you deal with CSP restrictions correctly. A CNAME record only works for sub-domains. A different domain needs its own set of DNS records.

    OTOH, if the separate domain is to serve your WP site as its own and only the landing page differs from your domain’s landing, that’s different. The separate domain’s A record has to point to your site’s IP address. There you can add CNAME records for any sub-domain. Then add the domain as an add-on domain with your host. Point it to your WP installation. You’ll then need custom code to override the default site and home URL settings in WP. You’ll also need code to detect the alternate domain and to serve a different page in place of your site’s normal landing page.

Viewing 1 replies (of 1 total)
  • The topic ‘Setup external domains to point to pages on my WP isntall’ is closed to new replies.