# Global Domain Mapping

### 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](/files/dgeo85e3rtbhJgkzdWEm)

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](/files/kHqpHjK4r5THjpoBVESB)

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](/files/w5sjQ9anExF1DdROR7on)

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://domainmappingsystem.gitbook.io/domainmappingsystem-docs/features/global-domain-mapping.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
