Domains Help

Add a subdomain record

Subdomains are a type of DNS record that adds a prefix to your domain. They can be used to create a separate section of website that has a unique web address. For example, if you have your main website set up on mycoolnewbusiness.com and you want to add a separate section for your online store, you can create a subdomain such as store.mycoolnewbusiness.com that your customers can access directly. Subdomains are commonly set up to connect to a domain name by creating a CNAME record, or to connect to an IP address by adding an A record.

Note: Make sure your domain is using GoDaddy nameservers before adding DNS records to your domain name.
  1. Sign in to your GoDaddy Domain Portfolio. (Need help logging in? Find your username or password.)
  2. Select an individual domain to access the Domain Settings page.
    select a single domain
  3. Select DNS to view your DNS records.
    select dns tab
  4. Select Add New Record.
  5. What are you connecting your subdomain to? Select the tab that applies.
    1. Select CNAME from the Type menu.
    2. Enter the details for your new CNAME subdomain.
      • Name: The hostname or prefix of the record, without the domain name, such as blog or shop. The Name must follow these guidelines:
        • Periods (.) are allowed but not as the first or last character
        • Consecutive periods (…) are not allowed
        • Cannot exceed 63 characters
        • Cannot be the @ symbol.
        • Not already in use by an existing A record, TXT record or MX record.
        Note: The most common CNAME is www, with the @ symbol entered for the Value field. This will make www.mycoolnewbusiness.com use the same DNS as the root domain, mycoolnewbusiness.com.
      • Value: The URL you are setting as the destination for the host. Type @ to point directly to your root domain name.
      • TTL (Time to Live): The amount of time the server should cache information before refreshing. The default setting is 1 hour.
    1. Select A from the Type menu.
    2. Enter the details for your new A record subdomain.
      • Name: The hostname or prefix of the record, without the domain name such as blog or shop.
      • Value: The IP address the record will point to. This is commonly the IP address for a hosting account.
        • Select Add another value to add more IP addresses to this A record.
      • TTL (Time to Live): The amount of time the server should cache information before refreshing. The default setting is 1 hour.
  1. (Optional) Select Add More Records to add multiple DNS records at the same time. If you change your mind, select screenshot of the icon for deleting a dns record Delete to remove any records that haven't been saved yet.
  2. Select Save to add your new record. If you added multiple records at the same time, select Save All Records.
    • If your domain has Domain Protection, you'll need to verify your identity. If you've had 2-step verification (2SV) turned on for at least 24 hours, enter the code we sent via SMS, or enter the code from your authenticator app. Otherwise, enter the one-time password we sent to your registrant email address.

Most DNS changes take effect within an hour but could take up to 48 hours to update globally.

Related steps

More info

Share this article