# How do I log in to Moodle?

https://www.seturack.com/en/knowledgebase/article/how-to-log-in-to-moodle

1. In the panel, open **My servers** and click your server.
2. On the **Overview** tab, wait for the **App** row to say "Moodle is ready". The first Moodle install takes a long time. The page refreshes itself.
3. Click **Open app**.
4. Enter the details from the **Login** and **Password** rows. The login is `yonetici`, which is Turkish for "admin". There is no setup screen.
5. For email, enter the values of `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASSWORD` and `SMTP_PROTOCOL` in `/opt/seturack/moodle/.env` and run `docker compose up -d` in the same folder. The install doesn't set up email.

Further down the page, the **Username** row and the **Password** row below it are for SSH. Don't use them to log in to Moodle.

## Good to know

- The password contains a symbol because Moodle's default password policy asks for one.
- Moodle writes the admin password, the admin email and the SMTP settings back from the `.env` file every time it starts. Changes made in the admin screen revert to the `.env` values when the server restarts (resizing included); to make them stick, change `MOODLE_SIFRE` and `MOODLE_EPOSTA` in `.env`.
- Scheduled tasks run on the server by themselves. Course files stay on your server's disk.
- The site opens over HTTPS on a free `sslip.io` address based on your IP. If a certificate can't be issued, it opens over `http://` instead. Only ports 80, 443 and 22 (for SSH) are open to the outside.

To use your own domain, see [this article](https://www.seturack.com/en/knowledgebase/article/how-to-connect-your-own-domain).

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