# A domain shows "No site is configured for this address on this server."

UrbeStack sysadmin note about Apache. Last updated 30 Nov 2026.

A domain that points to the server returns `404` with `No site is configured for this address on this server.` Apache has no site with that domain or alias, so add the name as an alias or a domain to fix it.

## Symptoms

The browser shows `No site is configured for this address on this server.` with status `404`. This often happens with a `www.` name or a subdomain while the domain itself works.

## Cause

Apache serves the request from the site whose name or alias matches the requested name. When no site matches, the server's default host serves the error page.

A domain answers to its `www.` name only when its `www` alias is enabled.

## Resolution

List the names Apache knows and the default host. On AlmaLinux, run the following command.

```
httpd -S
```

On Ubuntu, run this command.

```
apache2ctl -S
```

The site names appear on `namevhost` and `alias` lines. The default host appears as `default server urbestack.invalid`.

To make the site answer to its `www.` name, enable the domain's `www` alias.

```
urbestack-domain-set --name example.com --www-alias on
```

To make the site answer to another name, add that name as an alias.

```
urbestack-domain-alias-add --name example.com --alias shop.example.com
```

If the subdomain has its own site, add it as a domain with `urbestack-domain-add`.

Run the listing command for your system again. Check for the requested name on a `namevhost` or `alias` line.

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
