# Deploy to Digital Ocean droplet with no Domain?

**URL:** https://discourse.roots.io/t/deploy-to-digital-ocean-droplet-with-no-domain/11973
**Category:** trellis
**Created:** 2018-03-21T08:56:58Z
**Posts:** 4

## Post 1 by @richt — 2018-03-21T08:56:58Z

(Very) late yesterday after a surge of inspiration I spun up a local Trellis install with the intention of showing a potential client a site concept. All perfect. Once it was done, I then made a digital ocean droplet and went to provision/deploy to it. At this point I realised that I have no domain name for this project to point to. I don’t really want to purchase one just for this purpose.

Is there a way to use just the IP address of the droplet? If so, what would be the site hosts settings in my production wordpress\_sites.yml file?

---

## Post 2 by @fullyint — 2018-03-21T12:47:05Z

I haven’t tried IP only recently, so I don’t remember if it works. You could try:

```
site_hosts:
      - canonical: 12.34.56.78
```

or perhaps

```
site_hosts:
      - canonical: example.com
        redirects:
          - www.example.com
      - canonical: 12.34.56.78
```

You’ll probably need to have ssl `enabled: false`.  
Then reprovision (`server.yml`).

See also:

> [@err_empty_response](https://discourse.roots.io/t/err-empty-response/6225/5):
>
> If you’re showing the client the site on your machine, you could use the approach I mentioned of adding a temporary entry to your `/etc/hosts`. But more likely, you want enable the client to visit the site on their own devices and you don’t expect them to mess with `/etc/hosts`.
> 
> There could be many approaches…

---

## Post 3 by @mwalcott — 2022-03-02T01:41:27Z

Has anyone done this successfully? I will be testing here shortly but am waiting for some downloads to complete.

---

## Post 4 by @joshb — 2022-03-02T17:18:25Z

I believe this has worked for me in the past, like a few + years ago.
