0

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
1

1 Answer 1

0

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

3
  • sorry @kraftner -- I am often times working on both sides of the fence. When in DNS Management the www part or site1 part is referred to as a CNAME. When in WP Multisite, I guess it's referred to as subdomain. Thanks for answering.
    – tammy
    Commented Dec 3, 2014 at 16:33
  • So let me ask this @kraftner -- can you have one of your networks configured as www.example.com & dev.example.com while a different network configured as example.com/subdir1 & example.com/subdir2 at the same time and in the sane WordPress installation?
    – tammy
    Commented Dec 3, 2014 at 16:36
  • This is a no, not possible. Also for the future: Please add such things as an edit to the question or open a new question if id deviates from the original question too much. Comments are too easily overlooked.
    – kraftner
    Commented Dec 3, 2014 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.