5

I am trying to use my parked GoDaddy domain name with AWS Elastic Beanstalk and followed as the answer from this question . I had a problem at step 4. I imported a zone file for windows from GoDaddy and when I imported it returned me a parsing error at PARKED. My import file looks like this:

; SOA Record
***.com.    600 IN  SOA ***.***.com.    dns.***.net (
                --------
                -----
                ----
                -----
                ---
                )

; A Records
@   600 IN  A   >>++PARKED1++<<

; CNAME Records
_domainconnect  3600    IN  CNAME   ***.**.****.com
www 3600    IN  CNAME   @
ftp 3600    IN  CNAME   @

; NS Records
@   3600    IN  NS  ***.****.com
@   3600    IN  NS  ***.****.com

I read AWS documentation on migrating DNS but it only says to just import. So what should I change in the settings or the import file?

user8703143
  • 173
  • 1
  • 14
  • The string `>>++PARKED1++<<` is an invalid target for an A record, it must be an IP address. – Lanexbg Jan 17 '18 at 14:13
  • What IP address should I add? The IP of my EB app? – user8703143 Jan 17 '18 at 14:15
  • You should ask `AWS Elastic Beanstalk` support. You do not really need to import this zone file, since it's created for a parked domain at `GoDaddy`. Just ask them what records you need to add or ask `Google`. – Lanexbg Jan 17 '18 at 14:54

1 Answers1

3

You should use the IP address of your AWS Elasatic Beanstalk app. The A record is where your domain is pointing.

A Records point to IP addresses

CNAME points to another domain.

Simple A Record vs CNAME explanation

trejas
  • 991
  • 7
  • 17
  • 3
    Where should I look up the IP address of my EB environment? I can't find it anywhere. I just added the URL of the environment in the A Records and it worked fine. – user8703143 Jan 29 '18 at 02:18
  • You sure you did not enter a CNAME? A record should only accept an IP address as the destination. – trejas Jan 29 '18 at 02:36