sst / guide

Repo for guide.sst.dev
https://guide.sst.dev
MIT License
3.68k stars 445 forks source link

domain name from another registrar like NameCheap #190

Open asimdis0286 opened 6 years ago

asimdis0286 commented 6 years ago

hi, thanks for the great tutorial...what do I have to do different in the domain purchasing chapter and beyond if I already purchased my domain name from Namecheap. I havent deployed anything on it yet.

jayair commented 6 years ago

@asimdis0286 You would need to migrate it over to Route 53, so that you can manage it from there. Here is some more info on it - https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html

asimdis0286 commented 6 years ago

@jayair thanks for the reply but I cannot do that because my domain registration is not old enough. It has to be at least 2 moths old. Is there another solution?

jayair commented 6 years ago

@asimdis0286 I think you can point your domain to your CloudFront distribution manually. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html

asimdis0286 commented 6 years ago

@jayair this is what I did and it seems to work. I followed your steps all the way till creating a cloudfront distribution and then in the alternate domain names (CNAMEs) I added my DN from namcheap. Then after creating the hosted zones, I copied the 4 Name Servers that it generated and then updated my DN account on namecheap to point to them. It worked. Everything looks fine so far. Here are the two documents I followed that helped me and may help others(Note: these steps are specifically for inactive accounts):

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/migrate-dns-domain-inactive.html

https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-can-i-change-the-nameservers-for-my-domain

jayair commented 6 years ago

@asimdis0286 Thanks for letting us know. I'll refer folks to this thread in case somebody has questions.