# \*\*\*Guide\*\*\*A setup for serving a website through Tailscale using NGINX

**URL:** <https://forum.hhf.technology/t/guide-a-setup-for-serving-a-website-through-tailscale-using-nginx/82>\
**Category:** Tutorials\
**Created:** [October 9, 2024, 10:42am UTC](https://forum.hhf.technology/t/guide-a-setup-for-serving-a-website-through-tailscale-using-nginx/82 "2024-10-09T10:42:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [October 9, 2024, 10:42am UTC](https://forum.hhf.technology/t/guide-a-setup-for-serving-a-website-through-tailscale-using-nginx/82/1 "2024-10-09T10:42:46Z")

</div>

A setup for serving a website through Tailscale using NGINX. Here’s a breakdown of the steps to ensure everything is configured properly:

1. **DNS Configuration:**

2. **NGINX Configuration:**

3. **Tailscale Configuration:**

4. **Firewall and Port Forwarding:**

5. **NGINX Server Block Example:**  
Here’s an example NGINX server block that you can use as a reference:

If all of these configurations are correct, your domain should route traffic through the Tailnet and NGINX should serve the website to any client that is part of your Tailnet.
