# Overview: How to Map Domains

### Step 1: Configure your server settings and DNS records

Review [Configuring DNS Records](https://docs.domainmappingsystem.com/requirements/configuring-dns-records) and [Server Configuration](https://docs.domainmappingsystem.com/requirements/server-configuration) in order to setup Domain Mapping System properly.&#x20;

{% hint style="warning" %}
Make sure your hosting platform supports Alias Domains. Check our [Supported Hosting Platforms](https://docs.domainmappingsystem.com/integrations-and-compatibility/what-hosting-companies-are-supported).&#x20;
{% endhint %}

### Step 2: Go to Domain Mapping on the WordPress Admin menu bar

Ensure you have [installed the plugin properly](https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/), then click Domain Mapping on the WP Admin menu bar to go to the Settings area.&#x20;

Watch this video for the rest of the instructions, or continue to Step 3 below.

{% embed url="<https://youtu.be/mznQjxemxcE>" %}
Domain Mapping in WordPress
{% endembed %}

### Step 3: Select the post types for which you want to map domains.

![Available Post Types](/files/SgcIU6PgycfChpTb22Su)

### Step 4: Add the domain you want to map in the list and Select the post your website should display for that domain.

![Enter the Mapped Domains and Target Page](/files/Fm2qSGcD9GZFujcBDAFr)

{% hint style="success" %}
**Subdirectories:** You can also add full URLs of your mapped domain using the Subdirectory mapping, which is a PRO feature.&#x20;

Example: your-domain.com/landing-page/ can display the content of any post/page you want.
{% endhint %}

### Step 5: Visit both domains and test the mapping is configured properly.&#x20;

{% hint style="info" %}
**Important:** Website visitors can visit any post with BOTH the primary domain and mapped domain. The plugin currently does not "force" users to visit the post using the mapped domain.&#x20;
{% endhint %}


---

# 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/getting-started/how-to-map-domains.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.
