← Back to Domains & DNS

Setting Up an A Record

An A record maps your domain name to an IP address. It's how browsers know which server to contact when someone visits your website.

Finding Your Server IP

Log in to cPanel and look for Server Information in the bottom right. Your server's shared IP is listed there. If you have a dedicated IP, it's shown in your dashboard.

Adding an A Record in cPanel

Go to Domains > Zone Editor. Find your domain and click Manage. Click Add Record. Set:

  • Name: @ (for the root domain) or the subdomain prefix
  • TTL: 14400 (default)
  • Type: A
  • Record: your server IP address

Click Add Record to save.

Adding an A Record for www

Add a second A record with Name: www pointing to the same IP, so both yourdomain.com and www.yourdomain.com resolve correctly.

Was this article helpful?

On This Page