---
lang: en
title: 'API docs: rest.restbindings.host'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.restbindings.host.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RestBindings](./rest.restbindings.md) &gt; [HOST](./rest.restbindings.host.md)

## RestBindings.HOST variable

Binding key for setting and injecting the host name of RestServer

<b>Signature:</b>

```typescript
HOST: BindingKey<string | undefined>
```

