Adding CNAME and MX records conflicts
namrastanov
HOBBYOP

2 months ago

Hello.

Sorry I misunderstand something.

I have web service and added custom domain and added CNAME to the @ as it asked.

And now I try to add MX records to my DNS for smtp.google.com but Google asks to add MX record to the default value (@) but it is not possible to add any other @ records if I already have CNAME with @. And if I will remove cname @ the railway will be disconnected.

So, what I need to do registed smtp google and railway custom hosting as well&

Solved$10 Bounty

Pinned Solution

4 Replies

Railway
BOT

2 months ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 2 months ago


namrastanov
HOBBYOP

2 months ago

trying to workaround with www



lofimit
HOBBY

2 months ago

Hi,

The issue is the apex (@), a normal CNAME cannot coexist with an MX record there. Google Workspace requires the MX record at @.

You'll have to move DNS management to a provider that supports CNAME flattening/ALIAS at the root, such as Cloudflare (Like 0x5b62656e5d suggested).


Status changed to Solved namrastanov • about 2 months ago


namrastanov
HOBBYOP

2 months ago

Migrated to Cloudflare. Thank you guys!


Status changed to Awaiting Conductor Response Railway • about 2 months ago


Status changed to Solved 0x5b62656e5d • about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...