# Links in email messages are doing something unexpected

{% hint style="info" %}
Your tracking domain must point to the IP address of your VPS server where you installed the ESP platform unless you're sending through the MTA.
{% endhint %}

{% hint style="info" %}
Email sent through the MTA must use a tracking domain that points to one of the MTA's sending IP addresses.&#x20;
{% endhint %}

* [ ] The link domain in your email messages must be an A record that exists in your DNS hosting such as Cloudflare, GoDaddy, or HostGator.
* [ ] The A record must point to your ESP platform IP - the same IP you used for the installation.
* [ ] The A record must be in the "White Label Tracking Domain" at the bottom of your Connection type such as SparkPost, Mailgun, Amazon SES, or SMTP Relay.&#x20;

Create the link domain name as links.yourdomain.com, where yourdomain.com is your actual domain name you use for sending email, not literally "yourdomain.com".&#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://docs.emaildelivery.com/docs/common-installation-issues/links-in-email-messages-are-doing-something-unexpected.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.
