WordPress.org

Ready to get started?Download WordPress

Forums

Make a multi-site appear as solo-sites (4 posts)

  1. dosch
    Member
    Posted 2 years ago #

    hey I have a multi-site setup with dozen sites.

    the are all in this form: http://sitename.mainsite.com

    Now I would like to redirect these sites to make them appear as if they run on their own domain; eg. http://sitename.com

    Can this be done?

  2. cynix
    Member
    Posted 2 years ago #

    Search the plugin database (and the forums) for domain mapping. There's a plugin that'll do this for you.

    Excuse me for not giving a direct link. Locked down dumb terminal with no copy/paste and only one browser pane.

  3. dosch
    Member
    Posted 2 years ago #

    but domain-mapping just forwards the request for a domain to another site right?
    That would mean I'd have to have another site on the domain I am forwarding to.

    Basically the idea is that people will browse http://domain1.com and visit post http://domain.com/post1 but are actually taking the data of http://domain.mainsite.com and reading a post from http://domain.mainsite.com/post1

  4. madivad
    Member
    Posted 2 years ago #

    As cynic said, the domain mapping tool is what you need, it's here: http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

    They obviously need to have the domain name first. Go to their DNS and create entries that point the domain to your web hosting server ip address.

    Next, go to your web host cpanel or equiv, and you need to map the incoming domain name to a folder in your hosting server. This will be the folder you have the WPMS installed.

    Final step, once you've got the above plugin installed, go and add the mapping for the new domain name and mark it as primary, this way when wordpress receives a request from that domain name (and wordpress receives it because it's mapped at your host server to the wordpress directory), the wordpress domain mapping plugin will ensure the user coming from the outside sees the correct domain name.

    There is an added benefit, that the existing http://sitename.mainsite.com will still work, but if you marked the mapped directory as Primary (above) then when someone comes into it from that address, it will be remapped to the new http://sitename.com

    I have a setup exactly as described. I have a placeholder root account
    http://main.com

    I have no subdomains off it, instead I have three other domains which all point to it:
    http://domain1.com
    http://domain2.net
    http://anotherdomain.com

    I even have two further subdomains off one of the above:
    http://sub1.domain1.com
    http://sub2.domain1.com

    Each of the six blogs above are hosted in one wordpress install and all appear as totally separate blogs.

Topic Closed

This topic has been closed to new replies.

About this Topic