> For the complete documentation index, see [llms.txt](https://docs.oortech.com/oort/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oortech.com/oort/oort-storage/oort-storage-for-business/web3-web-hosting/publishing.md).

# Publishing

There are two ways to publish your websites.

## Use OORT Storage Default Domain

Publish your website with the object link generated by OORT Storage.

#### Step 1: Select the website bucket&#x20;

Open the menu of  “Buckets” and then select the bucket.

<div align="left"><figure><img src="/files/SWkwKbxrnJtQIEBmatbs" alt=""><figcaption></figcaption></figure></div>

#### Step 2: Right Click **-> Select&#x20;*****Website Configuration -> Edit***

<div align="left"><figure><img src="/files/kepjd3XZm2ByEGLKa0Hd" alt=""><figcaption></figcaption></figure></div>

In *Hosting Type,* choose ***Use the bucket endpoint as the web address***

<div align="left"><figure><img src="/files/j66AhjoJBMyPIIYAYp5H" alt=""><figcaption></figcaption></figure></div>

### Find the OORT Storage default web URL

#### &#x20;a. Locate your *Index.html* file

In your website directory file folders, locate your `Index.html` file and open this page.

<div align="left"><figure><img src="/files/3eOi9ZhxKzv6hwa9iNkF" alt=""><figcaption></figcaption></figure></div>

#### b. Click the Copy URL

<div align="left"><figure><img src="/files/Sw0FwZ6t4hlGFJAqUkAN" alt=""><figcaption></figcaption></figure></div>

## Connect a Custom Domain

You can opt to publish your site to any custom domain owned by you.\
Below is how to add a customized domain to your website hosted on OORT Storage.

#### Step 1: Select the website bucket&#x20;

Open the menu of  “Buckets” and then select the bucket you wish to customize.

#### Step 2: Right Click **-> Select&#x20;*****Website Configuration -> Edit***

<div><figure><img src="/files/n6EnUF3BBPr2IVPppv7R" alt=""><figcaption></figcaption></figure> <figure><img src="/files/NOJqwV2DgF3vodlqaWsW" alt=""><figcaption></figcaption></figure></div>

&#x61;*.* In *Hosting Type,* choose ***Redirect request to another domain***

*b.* Type in your custom domain in the *Domain Name* box

c. Upload the Certificate File and Private key of your custom domain

d. Copy the *DNS CNAME* for the next step

#### Step 3: Update the Domain DNS

Access your custom domain's DNS settings in your domain registrar's or DNS host's dashboard.

#### Step 4: Add a CNAME Record

Add the CNAME record to your DNS records and wait for it to take effect.

<figure><img src="https://lh6.googleusercontent.com/Q8Q9MLDC8BG0sFUQIzihet22MtRMgMthT0QVf4ftZr1xycshK9SuzjChY37M_RP4ayipv_W9XcD4fbK1BtM6C11GlW37FjAh1uIGlLo3QLG3P8iZTajChmo6uviE-2gagCkPFN93Hubo88PAM49UUKEJc92Ma8DwOmyNEQZEzqekbOY6NwwuI7Uo1PHG9g" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.oortech.com/oort/oort-storage/oort-storage-for-business/web3-web-hosting/publishing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
