Namecheap & Subdomains

Since I’m obsessed with trying new layouts (and switching between layouts an obnoxious number of times before “settling” on a final version,) I figured I should probably add subdomains to my site to host different development branches.

  1. Go to the namecheap admin page.
  2. Click the manage button for the desired domain.
  3. Go to Advanced DNS –> HOST RECORDS –> Add New Record.
  4. Select ALIAS Record as the type.
  5. Enter the desired subdomain (e.g. blog, dev) under Host.

Add subdomain to AWS Amplify

  1. Go to the AWS Amplify admin portal.
  2. Click the Manage subdomains button, then add the desired subdomain (e.g. blog, dev).
  3. In the dropdown, select the git branch to deploy to this subdomain.
  4. Go back to the previous page, then select Domain management –> Actions –> View DNS records.
  5. Under 2. Configure DNS provider, make note of the Host (subdomain), Type (CNAME), and value.

Related