Subdomains and multihost domain mapping

[ad_1]

I’m not even sure what to search for so I’ll have to ask. In setting up multisite on wordpress, I can follow a number of guides and get it working pretty well.

Is there a way to… I don’t know… wild card the domains? I mean:

I can get [www.site1.com]) to point to one site. I can get [www.site2.com]) to point to another site. etc. Is there a way to get “[www.site1.com](https://www.site1.com)” and “[site1.com](https://site1.com)” to point to the same site while having “[www.site2.com](https://www.site2.com)” and “[site2.com](https://site2.com)” pointing to the other site?

[ad_2]
1 Comment
  1. How to do this is more question of the Web server itself, rather than WordPress specifically. Do you run Apache or nginx? Setting up domain mapping in those two is very different, but the bottom line is that you want to set them up for WordPress in a way that they just point to the same file.

    Basically, you need to learn which webserver you’re using and how to configure it. Once you understand that, then actually making it work with WordPress is rather trivial by comparison.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer