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.
Link the subdomain to namecheap
- Go to the namecheap admin page.
- Click the
managebutton for the desired domain. - Go to
Advanced DNS–>HOST RECORDS–>Add New Record. - Select
ALIAS Recordas the type. - Enter the desired subdomain (e.g.
blog,dev) underHost.
Add subdomain to AWS Amplify
- Go to the AWS Amplify admin portal.
- Click the
Manage subdomainsbutton, then add the desired subdomain (e.g.blog,dev). - In the dropdown, select the git branch to deploy to this subdomain.
- Go back to the previous page, then select
Domain management–>Actions–>View DNS records. - Under
2. Configure DNS provider, make note of theHost(subdomain),Type(CNAME), and value.