Domain registrars vary in how they offer advanced DNS management, and this is a guide to the principles of setting up the DNS on your domain name. If in doubt, you should contact your registrar.
The first DNS record we need is an A record. This tells computers the IP address associated with a particular domain name.
For example, you may want to point www.domain.com to 80.240.88.45
In this case you would add an A record as follows:
| Host name: | www |
| IP | 80.240.88.45 |
| TTL | 14400 |
Hostname: the host or subdomain of your top level domain that you wish to point
IP: The IP (Internet Protocol) address of the server, provided to you by you hosting provider (in your welcome email if that's Ecohost).
TTL: (Time To Live) The time in seconds beyond which a dns server will be forced to expire its cache and look up the current value of the record. In our case 14400 secs / 60 = 240 mins = 4 hours.
Standard A record settings suggested for domains hosted on Ecohost servers.
* 80.240.88.45
@ 80.240.88.45
The * is a wild card which will allow point all subdomains to the IP address specified, such as www.doamin.com, mail.domain.com, subdomain.domain.com.
Notes:
The @ symbol in this context represents the plain domain. For example 'mydomain.com'. With some registrars, this is just left blank, rather than adding an @ symbol.
To use email for your domain you need to set at least one MX record.
After setting a wildcard above, we usually set at least one MX record as follows:
Value: mail.domain.com
MX Priority: 10
This will point all email to mail.domain.com, which in turn points to the IP address specified in the wildcard A record above.