> For the complete documentation index, see [llms.txt](https://domainmappingsystem.gitbook.io/domainmappingsystem-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://domainmappingsystem.gitbook.io/domainmappingsystem-docs/features/global-domain-mapping.md).

# Global Domain Mapping

Global Domain Mapping allows you to map all unmapped pages of your site to any domain automatically.

### Map Published Content Globally

When mapping a domain to your WordPress, you may not want to select every single post or page individually to appear for your mapped domain, so, we created a way to do it automatically called Global Domain Mapping. Here's a brief video about how to set it up, or feel free to read the guide below:

{% embed url="<https://www.youtube.com/watch?v=6jrP8BVxlpQ>" %}
Creating Microsites with the Domain Mapping System plugin for WordPress
{% endembed %}

To enable your website to map all unmapped pages automatically, you can simply check this box at the bottom of the plugin settings:

![Enable Global Domain Mapping for all unmapped pages](https://1402200364-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdK4RkxW1x8s0Z8rF9f%2Fuploads%2FX68cmrMUT9TKBxWZAFHx%2Fglobal-domain-mapping.png?alt=media\&token=b2b06770-c23b-45ba-b7e0-be430eb42891)

This will have the effect that **every** post, page, and other custom post type will appear as part of your mapped domain, and the corresponding slug of that page will be displayed as well.&#x20;

This feature is mainly a "time-saver", so you don't have to manually select every page for mapping.&#x20;

### Selective Global Domain Mapping

When mapping multiple domains to your site, you'll be given the option to select which domains should be globally mapped.&#x20;

The checkbox changes automatically to display another option:

![Global Domain Mapping with multiple domains](https://1402200364-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdK4RkxW1x8s0Z8rF9f%2Fuploads%2FxqcGUgrfnA0w47mdbg8e%2Fglobal-domain-mapping-checkbox.png?alt=media\&token=af3ee19f-10bf-443d-ad6e-774a377a30fb)

Here's a closer look at the additional option to select the domain to server for all unmapped pages

![Selecting the domain to serve for unmapped pages](https://1402200364-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdK4RkxW1x8s0Z8rF9f%2Fuploads%2FE646GBy1cgbklsEonuEV%2Fselective-global-mapping.png?alt=media\&token=7e65c8d5-a568-41e3-8225-83dc55064e58)

When you're done changing these settings, always be sure to click "Save" at the bottom.&#x20;
