Question

Should I use 'cname' for a subdomain when adding www , or just the 'a' record.

Posted March 4, 2020 396 views
DNS

The subdomain is holding a PHPmyadmin app.
should Type: www be used with hostname: db.domain.com

and can it also be used with type: www hostname: domain.com

Thank you, have read conflicting options

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello, @BRIANCoach

If you need to add a www for your domain - domain.com you can do both, e.g adding a CNAME record for www or just create an A record for db.domain.com

If you want to have a db.domain.com accessible with www as well, e.g www.db.domain.com you can setup an A record in the control panel.

Hope this helps!

Regards,
Alex

Submit an Answer