Skip to content

Instantly share code, notes, and snippets.

@jrichardsz
Last active March 18, 2024 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrichardsz/15bdb82d9f9dc903e057bf5eaf26c3fb to your computer and use it in GitHub Desktop.
Save jrichardsz/15bdb82d9f9dc903e057bf5eaf26c3fb to your computer and use it in GitHub Desktop.
namecheap and aws snippets

goal

Asign a namecheap subdomain https//sound-collector.acme.com to some public ec2 instance http://ec2-aaa-bb-ccc.compute-1.amazonaws.com dinamically

Steps

  • Create the ec2 and deploy something in the 80. Open the 80 port

  • Click on Domain List > Manage

image

  • Click on advanced dns

image

  • Create new Record

    • Type: A + Dynamic DNS Record
    • Host: sound-collector
    • Value: The ec2 public ip like: 52.200.201.202
    • TTL: Automatic
  • Create a dynamic password

image

  • Then save and wait some minutes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment