# exo dns add URL
### Description

Add an URL redirection record that points your domain to a URL.
This type of record uses an HTTP redirect to redirect visitors from a domain to a web site.

```
exo dns add URL DOMAIN-NAME|ID [flags]
```

### Options

| Option | Description |
|---------|------------|
|`--destination-url, -d` | Example: https://www.example.com |
|`--help, -h` | help for URL |
|`--name, -n` | Leave this blank to create a record for DOMAIN, You may use the &#39;*&#39; wildcard here. |
|`--ttl, -t` | The time in seconds to live (refresh rate) of the record. |


### Options inherited from parent commands

| Option | Description |
|---------|------------|
|`--config, -C` | Specify an alternate config file [env EXOSCALE_CONFIG] |
|`--output-format, -O` | Output format (table\|json\|text), see &#34;exo output --help&#34; for more information |
|`--output-template` | Template to use if output format is &#34;text&#34; |
|`--quiet, -Q` | Quiet mode (disable non-essential command output) |
|`--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
|`--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [add]({{< ref "../add">}})	 - Add record to domain


