> For the complete documentation index, see [llms.txt](https://docs.gridbox.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gridbox.io/deployment/deploy-to-netlify.md).

# Hosting your site

With Gridbox, you can host your site to Netlify in a click along with custom domain + free ssl (https) for free.&#x20;

### Hosting your site for the first time

Open the site you've created.

1. From the top right bar - Click on the publish button
2. It will open the dialog with "Login with Netlify" button.
3. &#x20;Login to Netlify Account if you've one or [create a new account.](https://app.netlify.com/signup) \[This step needed is only for the first time ]
4. Once connected, you can see - "Ready to host your website. Please click on publish to proceed"
5. Click on publish&#x20;
6. That's it. You will see the auto generated hosted url.

### Publishing content changes

1. From the top right bar - Click on the publish button
2. It will open the dialog
3. Click on publish changes&#x20;
4. That's it.&#x20;

### Renaming the site url

If you would like to continue with the default netlify url, still you can rename the url.&#x20;

For eg:

random-site-32s4.netlify.app -> your\_name.netlify.app

1. Click on edit.
2. Enter the name you want to rename to&#x20;
3. That's it.&#x20;

![Renaming the site](/files/c8ShODjKbt6q5uMOb1qQ)

### Adding Custom Domain in Netlify&#x20;

![](/files/rf6fa1J8yU3lL3hyPKKh)

To add custom domain&#x20;

1. Click on the **custom domain** button
2. This will take you to Netlify Custom Domain Settings

### Mapping your domain&#x20;

1. Follow the instructions given in the screen
2. Create a CNAME record www -> sometitle.netlify.app&#x20;
3. You will see the default Netlify Generatated Subdomain (for eg: <https://somesite.netlify.app>)
4. To add custom domain -> Click on Add custom domain button
5. Then add your domain and click on verify to proceed further&#x20;

Once you're done, allow up to 1 hr for the changes to take effect.&#x20;

![](/files/-MgkU6qTgId2Q7sLqZAW)

![Domain Verification](/files/-MgkUGze0X1IgLfUWjpR)

### Further Reading

{% embed url="<https://docs.netlify.com/domains-https/custom-domains/>" %}
