> ## Documentation Index
> Fetch the complete documentation index at: https://citodocs.prostack.host/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding a New Site

> Create new sites in Cito - WordPress, PHP, NodeJS, and Proxy Pass options

Cito supports a number of site types and a variety of software applications and content management systems. Creating a new site is quick and easy.

Currently we support four main site types:

* Wordpress
* PHP - For any PHP site other than Wordpress, use this option. The wizard includes quick-start options for common deployments such as **Laravel**, **PrestaShop**, and **CraftCMS**.
* NodeJS - To run NodeJS applications via Passenger.
* Proxy Pass. This allows you to create a site that proxies to a specific port on the server. Useful if you're running docker containers or a process manager like PM2.

<CardGroup cols={4}>
  <Card title="Wordpress" icon="wordpress" href="/creating-sites/wordpress" />

  <Card title="PHP" href="#using-the-create-site-wizard" />

  <Card title="NodeJS" icon="node-js" href="/creating-sites/nodejs" />

  <Card title="Proxy Pass" icon="arrow-right-arrow-left" href="/creating-sites/proxy-pass" />
</CardGroup>

## Using the Create Site Wizard

Setting up a new Cito site is straightforward. Visit the dashboard and click the "Create Site" button in the **top right hand corner**.

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/create-site-button.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=64aafb11c5ebc0630fbbae33a60cf20e" alt="Create Site" width="268" height="114" data-path="images/screenshots/create-site-button.png" />

From there you can select the desired type of site.

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/newsite-step1.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=8d4d9497b617534c91067b2248280b8b" alt="New Empty" width="2536" height="1104" data-path="images/screenshots/newsite-step1.png" />

You'll be prompted to supply a domain name. Enter this **without WWW**. You can also choose a username if desired, but this is optional. We will automatically generate a username if you leave this field blank.

When you click **create site** we set up the new site and provide the details to you:

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/successempty.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=a9b1cc2f272e8a62331699f578280e69" alt="New Empty" width="2516" height="604" data-path="images/screenshots/successempty.png" />

This includes the username, home directory, and preview URL for testing.

If you need a new MySQL database you can also follow the link to create one.

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/needdb.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=c1a33e480069b2e71992d1c1d38d26a9" alt="New Empty" width="842" height="386" data-path="images/screenshots/needdb.png" />

You can also link a Git repository to your site in the Create Site wizard. For more information see [Git](/deploying/git).

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/gitconnect.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=51f8bed582642ca87fb938fe79d39dc6" alt="Git connect" width="2076" height="274" data-path="images/screenshots/gitconnect.png" />

<Tip>
  **What about subdomains?**

  Some hosts place subdomains under an existing site, sharing the same user. In Cito, subdomains are separate sites in their own right and should be created and managed separately.
</Tip>

### Logging in

When we create a new site, we automatically copy the `admin` user's SSH keys to the new site's `authorized_keys` file, meaning your existing SSH keys will work.

Once you have created a new site, you can log in via SSH using the username provided.

Alternatively, if you are logged in as admin, you can switch to the new site using:

```bash theme={null}
sudo su - <username>
```

### Password authentication

We discourage the use of password authentication when connecting via SSH. You should use SSH keys to log into individual user accounts.

However, if you wish to log in using password authentication you may do so- please contact Support to have this enabled as it is disabled by default for security purposes.

Once this is enabled, you can set an SSH password for an individual account by running (as the `admin` user):

```bash theme={null}
sudo passwd <username>
```

For example, to set a password for the username `mydomain`, run:

```bash theme={null}
sudo passwd mydomain
```

You will be prompted to enter the password twice. Once done you may log in via SSH using the password you set.
