# How do I use my OpenLiteSpeed server?

https://www.seturack.com/en/knowledgebase/article/how-do-i-use-my-openlitespeed-server

1. In the panel, open **My servers** and click your server.
2. On the **Overview** tab, wait for the **App** row to say "OpenLiteSpeed is ready". The page refreshes itself.
3. The link in the **Panel address** row opens WebAdmin. Enter the details from the **Login** and **Password** rows.
4. Open the link in the **Site address** row. If you see the "Your server is ready" page, PHP is working.

## Uploading your site

Your site root is the `/var/www/html` folder. Upload your files there over SFTP, using the `root` user and password shown in the panel. Then give them the right owner:

`chown -R nobody:nogroup /var/www/html`

The `index.php` in that folder is only a welcome page, so you can delete it.

## Database

MariaDB runs inside the server and is not open to the outside. Connect from your site using `localhost`. The password in the panel is for WebAdmin only. Read the MariaDB `root` password over SSH: `cat /usr/local/lsws/password`. It is a good idea to create a separate database and user for your site.

## Good to know

- Open ports: **80** and **443** for the site, **7080** for WebAdmin, **22** for SSH. To open WebAdmin only from your own address: `ufw delete allow 7080/tcp`, then `ufw allow from YOUR_IP to any port 7080`.
- The certificate is issued during installation and renews by itself. Add your own domain to the listener and virtual host settings in WebAdmin.

**No server yet?** [Order a server with OpenLiteSpeed installed](https://www.seturack.com/en/openlitespeed-vps): you choose the size and pay for what you choose.
