Find Your Server IP Address in 3 Simple Ways!
This article explains three ways to find your mail server's IP address and how to use it with MailMigrata.
When you need it
- Migrating to a new provider while keeping your domain.
- Reconnecting to an old mail server after changing DNS.
- Setting up a new mail server while DNS still points to the old one.
Comparison
| Method | Pros | Cons |
|---|---|---|
| Ask your provider | No technical skill; reliable | You wait for a reply |
| DNS admin panel | Quick; minimal knowledge needed | Requires panel login |
| Ping or NSLookup | Fastest; no login | Uses the command line |
Method 1: Ask your provider
Email or call your hosting provider, such as GoDaddy, IONOS, or Bluehost. Ask for the mail server's IP address; it may differ from the web server.
Method 2: Check your DNS admin panel
- Sign in to your domain provider, for example GoDaddy, Namecheap, or Cloudflare.
- Open DNS Settings or DNS Management.
- Find:
- The A record for
yourdomain.com(general server address). - Mail records such as
mail.yourdomain.comorimap.yourdomain.com.
- The A record for
Method 3: Ping or NSLookup
Ping
Ping) shows the address a server answers from.
- Windows: right-click the Windows icon, open Command Prompt or PowerShell, and run
ping mail.yourdomain.com. - macOS: open Terminal and run the same command. Press Command + C to stop.
- Read the IP address in the reply, for example
192.168.1.1. If there is no answer, tryping imap.yourdomain.com. - Online alternative: Ping.eu.
NSLookup
NSLookup resolves a name to an address and works when a server ignores ping.
- Open Command Prompt or Terminal.
- Run
nslookup mail.yourdomain.com. - Read the address under Non-authoritative answer.
Online alternative: NSLookup.io.
Migrate with MailMigrata
MailMigrata uses IMAP only, not POP3 or Exchange. Most servers offering those also support IMAP.
- At mailmigrata.com, click Create New Migration and name it.
- For the source, enter IMAP settings, your email address, password, and the server IP you found.
- For the destination, enter the new provider's details, for example Gmail with host
imap.gmail.com. - Click Validate Settings and enable Synchronize Emails for 15 days.
- Select folders and a date range, then start the migration.
See MailMigrata's guide for provider-specific settings.