# sdm admin websites add

```shell
NAME:
   sdm admin websites add - add one or more websites

USAGE:
   sdm admin websites add command [command options] [arguments...]

COMMANDS:
   http, httpNoAuth, http-no-auth    create HTTP website
   http-basic, httpBasic, basicauth  create HTTP Basic Auth website
   http-header-auth, headerauth      create HTTP Custom Auth website

OPTIONS:
   --file value, -f value  load from a JSON file
   --stdin, -i             load from stdin
   --timeout value         set time limit for command
   --help, -h              show help
```

### http

```shell
NAME:
   sdm admin websites add http - create HTTP website

USAGE:
   sdm admin websites add http [command options] <name>

OPTIONS:
   --bind-interface value     IP address on which to listen for connections to this resource on clients. Specify "default", "loopback", or "vnm" to automatically allocate an available address from the corresponding IP range configured in the organization. (default: "default")
   --default-path value       Automatically redirect to this path upon connecting.
   --egress-filter value      apply filter to select egress nodes e.g. 'field:name tag:key=value ...'
   --header value             Additional HTTP header to include in requests.
   --headers-exclusion value  Enter the header name (e.g. Authorization), and its contents will be omitted from logs.
   --health-path value        This path will be used to check the health of your site. (required)
   --host-override value      The host header will be overwritten with this field.
   --http-subdomain value     This will be used as your local DNS address. (e.g. app-prod1 would turn into http://app-prod1.<your-org-name>.sdm.network/) (required)
   --no-enforce-https         Client connections will use HTTPS instead of HTTP (disable)
   --port-override value      Port on which to listen for connections to this resource on clients. Specify "-1" to automatically allocate an available port. (default: -1)
   --proxy-cluster-id value   proxy cluster id
   --secret-header value      Additional HTTP header to include in requests. (secret)
   --secret-store-id value    secret store id
   --tags value               tags e.g. 'key=value,...'
   --template, -t             display a JSON template
   --timeout value            set time limit for command
   --url value                The base address of your website without the path. (required)
```

### http-basic

```shell
NAME:
   sdm admin websites add http-basic - create HTTP Basic Auth website

USAGE:
   sdm admin websites add http-basic [command options] <name>

OPTIONS:
   --bind-interface value     IP address on which to listen for connections to this resource on clients. Specify "default", "loopback", or "vnm" to automatically allocate an available address from the corresponding IP range configured in the organization. (default: "default")
   --default-path value       Automatically redirect to this path upon connecting.
   --egress-filter value      apply filter to select egress nodes e.g. 'field:name tag:key=value ...'
   --header value             Additional HTTP header to include in requests.
   --headers-exclusion value  Enter the header name (e.g. Authorization), and its contents will be omitted from logs.
   --health-path value        This path will be used to check the health of your site. (required)
   --host-override value      The host header will be overwritten with this field.
   --http-subdomain value     This will be used as your local DNS address. (e.g. app-prod1 would turn into http://app-prod1.<your-org-name>.sdm.network/) (required)
   --no-enforce-https         Client connections will use HTTPS instead of HTTP (disable)
   --password value           (secret)
   --port-override value      Port on which to listen for connections to this resource on clients. Specify "-1" to automatically allocate an available port. (default: -1)
   --proxy-cluster-id value   proxy cluster id
   --secret-header value      Additional HTTP header to include in requests. (secret)
   --secret-store-id value    secret store id
   --tags value               tags e.g. 'key=value,...'
   --template, -t             display a JSON template
   --timeout value            set time limit for command
   --url value                The base address of your website without the path. (required)
   --username value           (secret)
```

### http-header-auth

```shell
NAME:
   sdm admin websites add http-header-auth - create HTTP Custom Auth website

USAGE:
   sdm admin websites add http-header-auth [command options] <name>

OPTIONS:
   --auth-header value        (required, secret)
   --bind-interface value     IP address on which to listen for connections to this resource on clients. Specify "default", "loopback", or "vnm" to automatically allocate an available address from the corresponding IP range configured in the organization. (default: "default")
   --default-path value       Automatically redirect to this path upon connecting.
   --egress-filter value      apply filter to select egress nodes e.g. 'field:name tag:key=value ...'
   --header value             Additional HTTP header to include in requests.
   --headers-exclusion value  Enter the header name (e.g. Authorization), and its contents will be omitted from logs.
   --health-path value        This path will be used to check the health of your site. (required)
   --host-override value      The host header will be overwritten with this field.
   --http-subdomain value     This will be used as your local DNS address. (e.g. app-prod1 would turn into http://app-prod1.<your-org-name>.sdm.network/) (required)
   --no-enforce-https         Client connections will use HTTPS instead of HTTP (disable)
   --port-override value      Port on which to listen for connections to this resource on clients. Specify "-1" to automatically allocate an available port. (default: -1)
   --proxy-cluster-id value   proxy cluster id
   --secret-header value      Additional HTTP header to include in requests. (secret)
   --secret-store-id value    secret store id
   --tags value               tags e.g. 'key=value,...'
   --template, -t             display a JSON template
   --timeout value            set time limit for command
   --url value                The base address of your website without the path. (required)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.strongdm.com/references/cli/admin/websites/add.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
