Manish Kumar
Manish Kumar

Reputation: 10482

Trouble with domain A-Records configuration

I was trying to modify A Records for my domain name. i entered two different value in the name field inside A Records:

1. <balnk>.example.com
2. www.example.com

Now if i type example.com it doen't work but www.example.com works. How can i make example.com working ?

Upvotes: 0

Views: 37

Answers (2)

Ander Morales
Ander Morales

Reputation: 139

You should create A Record for naked domain with wildcard simbol @

@    A RECORD    127.0.0.1 (depending on your server ip)
www  CNAME       example.com

Upvotes: 1

ice13berg
ice13berg

Reputation: 713

More details about "how" you're trying to configure the A-records would be helpful (DNS application, web interface, etc.), but at its core, consider using the @ configuration for your naked domain A-record (example.com), instead of a <blank>.

Separately, consider using a CNAME or other redirect for www.example.com to example.com. Depending on your circumstances, putting some thought into these options may give you better results and/or performance. Check this page out for different redirection options and the implications.

Upvotes: 0

Related Questions