# Hosted Zones

It is a container that define how to route traffic to a domain and subdomain.&#x20;

There are 2 kind of hosted zones

1. Public Hosted Zone
2. Private Hosted Zone

By default when we buy the new domain it can use in **Public hosted zone** that mean everyone can access your domain and go to your website but If you want to setup for domain name that use only inside our company and any other can't access it then we use **Private hosted zone**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev7days.gitbook.io/dev7days/aws/route-53/hosted-zones.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
