Support » Fixing WordPress » How to set up multiple domains pointing to same WP site with different info

  • crsg

    (@crsg)


    Hello everyone,
    I own a server with WP installed on it. I want to setup one WP website with multiple domains pointing towards my server and hence to that website. But for each domain pointing that way, the information on the form (I just want to set up a landing page with form on it) on the WP website should show up different piece of information (i.e the name of that domain). For eg. When I visit XYZ.com, the form should show XYZ.com as the header, similarly if I visit ABC.com the same location on form should show ABC.com instead of XYZ.com.
    Is this possible?
    I apologize in advance if this sounds like a naive question but I need a little guidance to get started.
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • johnkawakami

    (@johnkawakami)

    You need to read up about WPMU, which allows multiple sites to be hosted on one installation.

    Then install the plugin WordPress MU Domain Mapping. This allows different domains to point to the same IP address, but display different websites.

    https://codex.wordpress.org/WPMU

    crsg

    (@crsg)

    Hello @johnkawakami,
    Thanks for responding promptly to my query.
    I am looking forward to do this in a single installation. Something like this,
    Using this plugin they are doing it without it.

    crsg

    (@crsg)

    Any help from anyone?

    johnkawakami

    (@johnkawakami)

    This is a different problem. You don’t want to map different domains at all. What you need is a plugin that will look at the HTTP Host header and then use the value to generate the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to set up multiple domains pointing to same WP site with different info’ is closed to new replies.