Question

Is it possible to have a network setup based on CNAME? I know that WordPress networks handle sub-directory structures in the a network quite nicely, but I am wondering if I can do the same with with CNAMES.

For example, can I set one of my WP networks to house these 2 sites (thus giving me the ability to share plugins and themes):

  • www.example.com
  • dev.example.com
Was it helpful?

Solution

Correct me if I'm wrong, but I believe you are mixing up the terms of CNAMES and subdomains a bit.

In case you are looking for a subdomain setup for WordPress Multisite: Yes this is possible:

The sites in a network have different URLs. You can choose one of two ways for the URL to specify the site:

-Each site has a different subdomain. For example: site1.example.com, site2.example.com.

-Each site has a different path. For example: example.com/site1, example.com/site2

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top