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

Posted March 4, 2020 886 views

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

and can it also be used with type: www hostname:

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.

Submit an Answer
1 answer

Hello, @BRIANCoach

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

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

Hope this helps!