When the emails you send from your domain land in your customers' spam or junk folders, the cause is almost always one of three things: missing or broken authentication records (SPF, DKIM, DMARC), a website form that sends mail in a way receivers distrust, or the content and volume of what you send. This guide is for the email included with your Domain India hosting plan (cPanel, DirectAdmin, Webuzo or Plesk) and walks through each fix in the order that usually solves it.
Check that your domain has one SPF record, a DKIM key and a DMARC record, using the values your control panel gives you (in cPanel: Email › Email Deliverability). If your DNS is hosted elsewhere, such as Cloudflare, copy those values there yourself. Make website forms send from an address on your own domain, never from the visitor's address. Then test with a mail-testing service and read the result. Bulk newsletters belong on a newsletter service, not on shared hosting.
This guide is for mailboxes included with a hosting plan. Business Email is a separate product with its own records and webmail at mail.yourdomain.com:8443. Not sure which you have? See Business Email vs the email included with your hosting.
1. Why genuine mail ends up in spam
Gmail, Outlook and Yahoo decide where a message goes by checking whether it really came from your domain and whether mail like it has been wanted before. They look at:
- Authentication. Does SPF allow the sending server? Is there a valid DKIM signature? Does DMARC pass for the From address?
- Alignment. Does the domain in the From address match the domain that passed SPF or DKIM? A form that sends "from" a visitor's Gmail address through your server fails this every time.
- Reputation. How recipients treat mail from your domain and from the sending server's IP address: opens and replies help, spam complaints and bounces hurt.
- Content. Misleading subjects, link shorteners, a single large image with no text, or attachments that look risky.
Fix authentication first. It is the most common cause and the easiest to put right.
2. Check SPF, DKIM and DMARC
| Record | What it does | Where it lives |
|---|---|---|
| SPF | Lists the servers allowed to send mail for your domain | One TXT record on the domain itself |
| DKIM | Signs each message so receivers can verify it was not changed | A TXT record at selector._domainkey |
| DMARC | Tells receivers what to do when SPF and DKIM fail, and where to send reports | A TXT record at _dmarc |
On cPanel: open Email › Email Deliverability. It lists each domain, shows whether SPF and DKIM are valid, and gives the exact records your domain needs. DKIM is on by default for new cPanel accounts, and most domains on our cPanel servers already have a DMARC record with p=none. When your DNS is on our servers, Manage lets you repair a record that is wrong or missing.
On DirectAdmin: DKIM uses the selector x, and most domains already have a key. See checking and managing DKIM in DirectAdmin.
On Webuzo and Plesk (Windows): if you cannot find the DKIM or SPF value for your domain in the panel, ask support for it.
A domain may have exactly one TXT record that starts with v=spf1. If you also send through Google Workspace, a CRM or a newsletter service, add each one's include: to the same record instead of creating a second one. Two SPF records make SPF fail for everything.
3. If your DNS is hosted somewhere else
The records your control panel creates only take effect where your domain's DNS actually lives. If your nameservers point to Cloudflare, another host or your registrar's DNS, nothing is copied there for you.
- Find where your DNS is hosted.If the domain is registered with Domain India, its Nameservers tab in the client area shows where DNS points.
- Copy the values.Take the SPF, DKIM and DMARC values from your control panel exactly as shown.
- Add them at your DNS provideras TXT records with the same names. On Cloudflare, keep mail-related records as DNS only, not proxied.
- Wait and recheck.DNS changes can take a while to reach every network; then check again in Email Deliverability or with a mail tester.
For step-by-step DNS editing, see how to change your domain DNS settings.
4. Start DMARC safely
If you have no DMARC record, add one in monitoring mode:
_dmarc.yourdomain.com TXT "v=DMARC1; p=none; rua=mailto:[email protected]"p=none changes nothing about delivery; it asks receivers to send daily reports to the rua address. Read them for a few weeks. Once every service that sends as your domain passes, move to p=quarantine, and later to p=reject if you want. A domain may have only one DMARC record, so edit the existing one rather than adding a second. The full walkthrough is in setting up DMARC.
5. Fix website contact forms
A form that sets the From address to the visitor's email (for example [email protected]) and sends it from your hosting server fails DMARC for gmail.com, so it lands in spam or is rejected.
- From: an address on your own domain, such as
[email protected], ideally a real mailbox. - Reply-To: the visitor's email address, so clicking Reply still reaches them.
- Envelope sender: on cPanel, send with PHP
mail()and pass-f [email protected]. SMTP from PHP does not work on our cPanel servers because the socket functions it needs are disabled.
For PHPMailer and WordPress forms, follow how to use PHPMailer for contact forms and PHP sendmail settings. On DirectAdmin, test the form on your plan before you rely on it.
6. Content and sending habits
Shared hosting also has a sending limit: 200 messages per hour per account on cPanel and 1,000 per day on DirectAdmin. It is sized for normal business mail, not campaigns. For newsletters, use a dedicated service and add its SPF include and DKIM records to your domain.
7. Check blocklists and compromised mailboxes
If a bounce message mentions a blocklist, or a blocklist checker such as MXToolbox lists the server's IP address, open a ticket with the full bounce message. The IP address of a shared hosting account cannot be changed, so a move to another IP is not an option; support can look at the listing and what caused it.
A mailbox with a weak or leaked password can be used to send spam, which harms delivery for everyone on that domain. If people report odd mail from you, change the mailbox passwords straight away and tell support. See I can receive mail but I cannot send it if sending has stopped altogether.
8. Test, then confirm
- Send a testfrom the affected mailbox to a mail-testing service such as mail-tester.com, and to a Gmail address you own.
- Read the report.It shows whether SPF, DKIM and DMARC pass and flags content problems.
- In Gmail, open the message and choose Show original.You want
SPF: PASS,DKIM: PASSandDMARC: PASS. - Fix what failedusing sections 2 to 5, then test again.
There is a longer checklist in how to test email deliverability for your own website.
9. Where Domain India fits
Every Domain India shared hosting plan includes email with your domain, and cPanel's Email Deliverability tool shows and repairs the records when your DNS is on our servers. If email is central to your business, Business Email runs on a separate mail platform, signs every message with DKIM, and gives you SPF and DMARC records for your domain.
Frequently asked questions
Why do my emails go to spam in Gmail?
Usually because SPF, DKIM or DMARC is missing or failing for your domain, or because a website form sends mail with a From address that is not on your domain. Check the records in your control panel, fix the form, then test with Gmail's Show original view, which shows whether SPF, DKIM and DMARC pass.
Where do I find my SPF and DKIM records in cPanel?
Open Email, then Email Deliverability. It shows each domain's SPF and DKIM status and the exact records needed. When your DNS is on our servers, Manage lets you repair them.
My DNS is on Cloudflare. Why do my records still fail?
Records created in your control panel are not copied to Cloudflare. Copy the SPF, DKIM and DMARC values into Cloudflare as TXT records, keep them DNS only, and test again.
Can I have two SPF records?
No. A domain may have only one SPF record. Merge every sender's include into that one record; two records make SPF fail.
Why do my contact form emails go to spam?
The form probably sends with the visitor's email as the From address. Send from an address on your own domain, put the visitor in Reply-To, and on cPanel use PHP mail() with the -f option.
Can I send newsletters from my hosting email?
Shared hosting allows 200 messages per hour per account on cPanel and 1,000 per day on DirectAdmin, which suits normal business mail. Send newsletters through a dedicated newsletter service instead.
Can Domain India change my server IP if it is blocklisted?
No. The IP address of a shared hosting account cannot be changed. Open a ticket with the full bounce message and support can look at the listing and what caused it.
Ready to fix it? Check your records in cPanel's Email Deliverability, follow setting up DMARC, and if a record will not validate, open a support ticket with your domain and a copy of the bounce or test report.
Send us your domain, the test result and a full bounce message if you have one. Every ticket gets a first response within 15 minutes.
Open a support ticket