# New Website

> The sheet that adds a site to a Project's website list, or, as Edit Website, changes a site's title and address or takes it off the list.

Source: https://air.build/docs/screens/website/edit-site/

New Website is the sheet where you add a site to a Project's website list: a title and an address. The same sheet, titled **Edit Website**, changes a site that's already on the list and can take it off. The list is on the [Website](https://air.build/docs/screens/website/sites/) tab, and your Agents keep the same list.

## Open it

| To | Do this |
| --- | --- |
| Add a site (**New Website**) | On the Website tab's list, tap **Add Website…** (the last row of **Websites**), or the **Add Website…** button on the **No Websites Yet** page. |
| Change a site (**Edit Website**) | Touch and hold the site's row (on the Mac, right-click it) and choose **Edit…**. |

It opens as a sheet over the tab, titled **New Website** or **Edit Website**.

## What's on it

| Item | What it is | Default |
| --- | --- | --- |
| **Title** | The site's name on the list, for example "Support". | Empty; the site's title when editing |
| **Address** | Where the site is. Placeholder `https://`. You can leave out `https://`: AirBuild adds it. On iPhone and iPad the field uses the web-address keyboard and doesn't capitalize or correct what you type. | Empty; the site's address when editing |
| **Cancel** | Closes the sheet without saving. Top-left on iPhone and iPad; bottom right on the Mac. | — |
| **Add** (New Website) or **Save** (Edit Website) | Saves and closes the sheet. Top-right on iPhone and iPad; the highlighted button at the bottom right on the Mac. | Dimmed until the sheet can save (see below) |
| **Delete Website** | Takes the site off the list (see below). Edit Website only: the trash at the bottom left on iPhone and iPad, the button at the bottom left on the Mac. | — |

**Add** and **Save** stay dimmed until **Title** isn't empty and **Address** is a web address AirBuild can open: no spaces, starting with `http://`, `https://` or neither, and with a site name such as `example.com`. In **Edit Website** you also need to have changed the title or the address.

On the Mac, Return presses **Add** (in Edit Website, **Save**) once it isn't dimmed.

## Add a site

Step by step: [Publish your app's website](https://air.build/docs/services/publish-a-website/#add-a-site-yourself).

The sheet closes and the site shows at the end of **Websites** at once. AirBuild then reads the page for its icon and color; until it has them, the row shows the title's first letter.

## Change or delete a site

To change it, choose **Edit…** on its row, change **Title** or **Address**, and tap **Save**. A new address starts again without an icon until AirBuild has read the new page.

To delete it:

1. In **Edit Website**, tap **Delete Website**.
2. AirBuild asks **Delete Website**: "The site stays online. It only leaves this list."
3. Tap **Delete**. The sheet closes and the site leaves the list.

Deleting doesn't take the site off the internet. To do that, ask your Agents in the Project's chat. You can also delete a site straight from its row's menu (**Delete Website**) without opening the sheet.

## Messages

The sheet itself shows no errors: it closes when you tap **Add**, **Save** or **Delete**, and the change shows on the list right away. If AirBuild can't save it, the list goes back to how it was and a line under the **Websites** card says so:

| Message | What it means | What to do |
| --- | --- | --- |
| "The website couldn’t be saved." | The new site or your change wasn't saved. | Open the sheet again and try once more. |
| "The website couldn’t be removed." | The site is still on the list. | Delete it again. |
| Another sentence | AirBuild turned the change down and says why, for example about the address. | Fix what it names and save again. |
