# Deployed website not visible

**URL:** https://discourse.roots.io/t/deployed-website-not-visible/5768
**Category:** trellis
**Created:** 2016-01-26T00:17:28Z
**Posts:** 9
**Showing post:** 6 of 9

## Post 6 by @fullyint — 2016-01-26T10:04:10Z

I’m not sure adding `-K` for `become` (`sudo`) was actually achieving anything because `server.yml` already runs with [`become: yes`](https://github.com/roots/trellis/blob/11516d12e42355d0304eb4fb8c15be7ca8fcf6d4/server.yml#L14). You may find that you can omit `-K` in the future. The `apt-get` connectivity issue may have been just a temporary unavailability, as sometimes happens, and not a `sudo` issue.

**Edit.** If you set [`sshd_permit_root_login: false`](https://github.com/roots/trellis/blob/11516d12e42355d0304eb4fb8c15be7ca8fcf6d4/group_vars/all/security.yml#L16) you’ll need to use `-K` to be prompted for the become [password for the `admin_user`](https://roots.io/trellis/docs/security/#admin-user-sudoer-password).

* * *

> [@BobWassermann](#):
>
> if I open the url ([http://staging.ar-advies.nl](http://staging.ar-advies.nl)), the browsers returns an error.

What’s the error?

* * *

> [@BobWassermann](#):
>
> /bobwassermann/Sites  
> ----------------/trellis  
> ----------------/ar-advies.nl

:arrow_up: If this is your [`repo`](https://github.com/roots/trellis/blob/11516d12e42355d0304eb4fb8c15be7ca8fcf6d4/group_vars/staging/wordpress_sites.yml#L7) structure, then you should have [`repo_subtree_path: `](https://github.com/roots/trellis/blob/11516d12e42355d0304eb4fb8c15be7ca8fcf6d4/group_vars/staging/wordpress_sites.yml#L9)` ar-advies.nl`. (Your CLI output showed `repo_subtree_path: site`)

If your repo is `ar-advies.nl` only, without the `trellis` directory, you should comment out `repo_subtree_path`.

* * *

[This thread](https://discourse.roots.io/t/task-deploy-fail-if-composer-json-not-found/5705) mentions the same tutorial you mentioned. Perhaps you’ll see some similarities in troubleshooting the resulting setup.

---

_[View the full topic](https://discourse.roots.io/t/deployed-website-not-visible/5768)._
