# 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="https://2974904282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNn5zebxnzyzrzQhb979k%2Fuploads%2FoNY9HWM363TgOPiE8gnx%2Fselect%20a%20bucket.png?alt=media&#x26;token=23f75512-b6d9-4fd4-a142-9aa4e047187c" alt=""><figcaption></figcaption></figure></div>

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

<div align="left"><figure><img src="https://2974904282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNn5zebxnzyzrzQhb979k%2Fuploads%2FDx1FzKQrZmBUjcdLzoOd%2Fselect%20website%20configuration.png?alt=media&#x26;token=bb0733c0-ad99-44fd-9e16-fe64e329b21c" alt=""><figcaption></figcaption></figure></div>

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

<div align="left"><figure><img src="https://2974904282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNn5zebxnzyzrzQhb979k%2Fuploads%2FLc6TCes7IbrR2Oa7nC5I%2Fwebsite%20configuration.png?alt=media&#x26;token=34b883cb-ad31-4f6e-ae2f-5b4c42cd3284" 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="https://2974904282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNn5zebxnzyzrzQhb979k%2Fuploads%2FA3MFSQDFQkfqqFQQJnsJ%2Findex.png?alt=media&#x26;token=200d5793-c03d-4897-bbbf-3a1b28b1fee2" alt=""><figcaption></figcaption></figure></div>

#### b. Click the Copy URL

<div align="left"><figure><img src="https://2974904282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNn5zebxnzyzrzQhb979k%2Fuploads%2Fl61k9fpZ5wdvfdMU4zbk%2Fcopy%20url.png?alt=media&#x26;token=ca485e8c-cdc1-4652-8587-88b99d3a108e" 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="https://2974904282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNn5zebxnzyzrzQhb979k%2Fuploads%2FjQumkcbJlxE8onoZWutU%2Fcustom1.png?alt=media&#x26;token=85bf6638-bdee-450b-9347-2fb526008336" alt=""><figcaption></figcaption></figure> <figure><img src="https://2974904282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNn5zebxnzyzrzQhb979k%2Fuploads%2FHCV7f3vKACyC8o8abkVy%2Fcustom2.png?alt=media&#x26;token=f23a4b1e-7960-48e7-b9bd-1acd85d67104" 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>
