this post was submitted on 29 Oct 2023
1 points (66.7% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I am trying to find a way to have two separate domains associated with separate emails accessible through Traefik.

I have done some research but cannot figure it put. I tried creating a TCP router to accomplish this but it does not work.

Is there a better way to accomplish this?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 1 points 10 months ago

From your comments depending on how low maintaintance your other website is... you can probably host it via cloudflare pages and connect your domain to it.

https://pages.cloudflare.com/

[โ€“] [email protected] 1 points 10 months ago

Have you added it to the entry points?

https://github.com/htpcBeginner/docker-traefik/blob/master/docker-compose-t2.yml under the Traefik section has it commented out. It's a big file but I just remember it having it. They set the domain names in an .env but you could just type it in.