# get_httpd_config

> Get the web-server (Apache/LiteSpeed vhost) configuration summary for a domain — its `documentRoot`, `serverAliases`, IP and the ssl/php/cgi flags.

- Tier: R
- Required scope: read:hosting
- Annotations: readOnlyHint, idempotentHint
- Docs: https://api.inleed.com/tools/get-httpd-config

## Description

Get the web-server (Apache/LiteSpeed vhost) configuration summary for a domain — its `documentRoot`, `serverAliases`, IP and the ssl/php/cgi flags. The raw custom Apache directives need shell access; where that is unavailable a `note` says so and only the DirectAdmin-derived summary is returned. For the PHP version use `get_php_settings`; for DNS records use `list_dns_records`.

## Input schema

- `input` — string (required). A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.

## Example call

```json
{
  "name": "get_httpd_config",
  "arguments": {
    "input": "example.se"
  }
}
```

