# Error while parsing rule Host

**URL:** <https://community.traefik.io/t/error-while-parsing-rule-host/25639>\
**Category:** Traefik v3 (latest)\
**Tags:** dashboard-api\
**Created:** [December 19, 2024, 1:16pm UTC](https://community.traefik.io/t/error-while-parsing-rule-host/25639 "2024-12-19T13:16:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![visghost](https://avatars.discourse-cdn.com/v4/letter/v/f4b2a3/32.png) [@visghost](https://community.traefik.io/u/visghost)\
**Post date:** [December 19, 2024, 1:16pm UTC](https://community.traefik.io/t/error-while-parsing-rule-host/25639/1 "2024-12-19T13:16:31Z")

</div>

how to solve the problem? my server is behind NAT

\*\*traefik | 2024-12-19T16:07:36+03:00 ERR error="error while parsing rule Host(`traefik.demo.com'): 1:6: raw string literal not terminated" entryPointName=http routerName=traefik@docker traefik | 2024-12-19T16:07:36+03:00 ERR error="error while parsing rule Host(`[traefik.demo.com](http://traefik.demo.com)'): 1:6: raw string literal not terminated" entryPointName=https routerName=traefik-secure@docker  
t

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [December 19, 2024, 1:47pm UTC](https://community.traefik.io/t/error-while-parsing-rule-host/25639/2 "2024-12-19T13:47:11Z")

</div>

> [@visghost](#):
>
> `Host(`traefik.demo.com')`

You need to use the same backtick.

---

<div class="post-metadata">

**Author:** ![visghost](https://avatars.discourse-cdn.com/v4/letter/v/f4b2a3/32.png) [@visghost](https://community.traefik.io/u/visghost)\
**Post date:** [December 19, 2024, 2:06pm UTC](https://community.traefik.io/t/error-while-parsing-rule-host/25639/3 "2024-12-19T14:06:16Z")

</div>

thanks for contributing!
