Title: Multisite DNS resolution
Last modified: April 27, 2021

---

# Multisite DNS resolution

 *  [plarkin](https://wordpress.org/support/users/plarkin/)
 * (@plarkin)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/multisite-dns-resolution/)
 * I know the documentation is probably all here somewhere but I’m somewhat confused
   about terminology and want to select the right document to get this right.
 * I have a Multisite with 30 or so sites. All 30 are currently resolved like this:
 * [https://www.mymultisite.com/Site01](https://www.mymultisite.com/Site01)
    [https://www.mymultisite.com/Site02](https://www.mymultisite.com/Site02)::
   [https://www.mymultisite.com/Site30](https://www.mymultisite.com/Site30)
 * I ultimately want it to be:
 * [https://Site01.mymultisite.com/](https://Site01.mymultisite.com/)
    [https://Site02.mymultisite.com/](https://Site02.mymultisite.com/)::
   [https://Site30.mymultisite.com/](https://Site30.mymultisite.com/)
 * Can anyone point me to documentation on how to approach this? I suppose I need
   docs on configuring Multisite and docs to give our network team for DNS changes.
   Perhaps there is an all inclusive document? Thanks.

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

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/multisite-dns-resolution/#post-14371481)
 * You did the wrong setup!
 * You should have chosen SUB-**DOMAIN** during setup, but you chose SUB-**DIRECTORY**
   setup instead.
 * ![](https://i0.wp.com/i.snipboard.io/pGVgOJ.jpg?ssl=1)
 * Please see the documentation on [Switching Network Types](https://wordpress.org/support/article/multisite-network-administration/#switching-network-types).
 * But before you make any configuration change, first read all the Multisite documentation
   links below and make sure you’ve properly configured your domain’s DNS to forward
   all subdomains to the primary Multisite domain, such that visiting [https://anything.example.com](https://anything.example.com)
   will take you to [https://example.com](https://example.com).
 * > [Before You Create A Network](https://wordpress.org/support/article/before-you-create-a-network/)
 * > [Create A Network](https://wordpress.org/support/article/create-a-network/)
 * > [Multisite Network Administration](https://wordpress.org/support/article/multisite-network-administration/)
 * Good luck!
 *  Thread Starter [plarkin](https://wordpress.org/support/users/plarkin/)
 * (@plarkin)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/multisite-dns-resolution/#post-14371563)
 * Bummer!
 * So does the .htaccess file handle sending the request to the correct site and
   there just needs to be a single entry in DNS?
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/multisite-dns-resolution/#post-14372241)
 * You need just a single wildcard DNS entry pointing to the root domain, eg `*.
   example.com CNAME example.com`. WordPress and the `.htaccess` file will handle
   the rest — redirecting the request to the appropriate sub-site.
 *  [russ152](https://wordpress.org/support/users/russ152/)
 * (@russ152)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/multisite-dns-resolution/#post-14424987)
 * If you use Apache server then …
 * In the httpd.conf file, or in the include file containing the VirtualHost section
   for your web account, add a line like this (if it is not already present):
 * ServerAlias *.example.com
 * Also create a wildcard DNS record like:
 * *.example.com A 192.0.43.10
 * REF [https://codex.wordpress.org/Configuring_Wildcard_Subdomains](https://codex.wordpress.org/Configuring_Wildcard_Subdomains)
   [.](https://www.upsers.mobi/)

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

The topic ‘Multisite DNS resolution’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 4 replies
 * 3 participants
 * Last reply from: [russ152](https://wordpress.org/support/users/russ152/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/multisite-dns-resolution/#post-14424987)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
