Skip to main content
When integrating with Phantom, you need to verify your domain to be able to use Phantom Connect SDK and for your app to appear in Phantom’s Explore tab and search results. Verification proves you control the domain and helps protect users from phishing.

Domain verification process

Step 1: Enter your domain

  1. In Phantom Portal, go to Edit App Info.
  2. Find the Public URL field.
  3. Enter your app’s primary domain (https://yourapp.com).
  4. Select Save.
Use only your root domain or primary subdomain. Do not include paths such as /app or /dashboard.

Step 2: Get your verification code

  1. After entering your domain, find the Domain Verification section.
  2. Copy the verification code shown (format: phantom-verification-XXXXX)
Phantom Portal showing the verification code

Step 3: Add a DNS TXT record

Add a TXT record to your domain’s DNS settings.
FieldValue
TypeTXT
Host/Name@ (or leave blank, depending on provider)
ValueYour verification code from Phantom Portal
TTL3600 (or your provider’s default)

DNS provider instructions

  1. Log in to Cloudflare dashboard
  2. Select your domain
  3. Go to DNSRecords
  4. Click Add record
  5. Type: TXT
  6. Name: @
  7. Content: Your verification code
  8. Click Save
  1. Log in to GoDaddy.
  2. Go to My ProductsDNS.
  3. Click Add next to DNS records.
  4. Type: TXT.
  5. Host: @.
  6. TXT Value: Your verification code.
  7. Click Save.
  1. Log in to Namecheap.
  2. Go to Domain List → Your domain.
  3. Click ManageAdvanced DNS.
  4. Click Add New Record.
  5. Type: TXT Record.
  6. Host: @.
  7. Value: Your verification code.
  8. Click Save.
  1. Open Route 53 console.
  2. Click Hosted zones → Your domain.
  3. Click Create record.
  4. Record type: TXT.
  5. Record name: Leave blank to target the root.
  6. Value: Your verification code.
  7. Click Create records.
  1. Go to your project settings.
  2. Click Domains → Your domain.
  3. Scroll to DNS Records.
  4. Add a TXT record using your verification code.
  5. Save your changes.
If you’re unsure where your DNS is hosted, check your registrar or hosting provider’s dashboard.

Step 4: Wait for DNS propagation

DNS changes may take time to propagate globally, and typically take 15 to 60 minutes, with a maximum of 48 hours. You can check propagation status using command line:
nslookup -type=TXT yourapp.com
Or using online tools:

Step 5: Complete verification in Phantom Portal

After your DNS record is propagated, take these steps:
  1. Return to Phantom Portal.
  2. Go to Edit App InfoDomain Verification
  3. Click Verify Domain.
  4. Wait for verification to complete.
Verification results:
ResultDescription
SuccessYou’ll see a Continue button if successfully configured.
FailedDouble-check your DNS record and wait longer for propagation.
ErrorReview the error message and ensure the record matches exactly.
Phantom Portal showing successful domain verification Once your domain is verified, configure your allowed origins.

Maintain verification

Keep the DNS TXT record in place. If you remove the record, your verification will be revoked, your app may be removed from public listings, and you will need to re-verify your domain.

Troubleshooting

Verification fails

Problem: Selecting Verify Domain shows an error. Solutions:
  • Wait for full DNS propagation (up to 48 hours)
  • Confirm that the TXT value matches exactly
  • Remove extra quotation marks from the value
  • Ensure the record is at the root domain (@)
  • Try another DNS checker
  • Clear your local DNS cache:
# macOS
sudo dscacheutil -flushcache

# Windows
ipconfig /flushdns

Multiple TXT records

Problem: Your domain already has TXT records. Solution: You can have multiple TXT records. Add the Phantom verification code as a new record. Do not replace existing records.

Subdomain or root domain

Problem: Unsure which domain to verify. Solution: Verify the domain where users access your app:
  • If your app runs at app.example.com, verify that subdomain
  • If your app runs at example.com, verify the root domain

DNS changes not saving

Problem: DNS provider won’t save your changes. Solutions:
  • Remove quotes around the TXT value
  • Ensure there are no trailing dots
  • Confirm you have permissions to make changes
  • Contact your DNS provider

FAQ

Yes. If your app is accessed from multiple domains, verify each one separately.
No. Staging domains do not need verification unless you want them to appear in public listings.
Verification remains valid as long as the TXT record stays in place.
Yes. Verify the new domain by completing the same process.

Next steps