# 建立 Subdomain [TOC] ###### tags: `aws` `route53` --- ## 開啟 Route 53 Dasshboard ![](https://i.imgur.com/UTQyw80.png) 點擊 **Hosted zone** 鏈結。 ## 選擇上層域名 ![](https://i.imgur.com/dx9Sbx6.png) 點擊 parent domain 鏈結,圖例為 **`bloxmith.com`**。 ## 建立子域 ![](https://i.imgur.com/or6UGZQ.png) 輸入含**子域名**的**絕對域名**,圖例為 **`staging.bloxmith.com`**。 ## 名稱伺服器記錄 ![](https://i.imgur.com/vgeCmkO.png) 將 NS records 的**值**複製起來。 ## 回到上層域名 ![](https://i.imgur.com/dVZb9XO.png) 點擊 **Create record** 按鈕。 ## 子域資訊 ![](https://i.imgur.com/x3R8t71.png) - 輸入**子域名**,圖例為 **staging**。 - 選擇 **NS - Name servers for a hosted zone**。 - 貼上剛才在**子域名**複製的 NS records **值**。 - **Routing policy** 設為 **Simple routing**。 - 點擊 **Create record** 按鈕。 完成。 ## 參考資料來源 - [How do I create a subdomain for my domain hosted in Amazon Route 53?](https://aws.amazon.com/tw/premiumsupport/knowledge-center/create-subdomain-route-53/)