How to use A records to point your domain at a web host
There are two common methods for connecting a domain to a 3rd party web host. The first is assigning your web hosts's Nameservers to the domain. This second method retains control of DNS and simply directs incoming web requests to your web server's IP address.
For this method, you'll need to first obtain the IP address or addresses of your web server from your web hosting company. Armed with that information, you must remove your existing A records, then add A records pointing directly at your web server's IP address to your DNS configuration. Here's how:
- Log in. You should arrive at the Domain Management screen. If you're already logged in, click your username in the top-right corner and select Domain Management.
- Locate your domain and click the drop-down list to the right. On the menu that appears, click the "Edit" option next to "DNS Records".
- On the Manage DNS Records screen, scroll down and locate the one or more A records that are currently pointing at the wrong web server. Click the trash can icons to the right of the bad records to remove them.
- Scroll up to the top of the Manage DNS Records screen to add the correct A records. Generally, you want one record for requests for www.yourdomain.example and one for yourdomain.example (without the www.)
- For the first record, make sure that Type is set to "A - Address record" the Host is "www" and the Answer is the IP address provided by your web host, then hit Add.
- For the second record, make sure that Type is set to "A - Address record" the Host is left blank and the Answer is the IP address provided by your web host, then click Add.
Repeat the above steps for each IP address issued to you by your web host.
Click the X icon in the top right of the popup box to close "Manage DNS Records"
After about five minutes, web browser requests for your domain will begin routing directly to your web server.