1
submitted 11 months ago by [email protected] to c/[email protected]

currently i have few websites running on a single apache instance. everything works with the typical port forward setup. let say theres 5 websites with different domain names (some of it are sub-domain)

however, due to some special circumstances, some websites need to move to other server, different location, behind cgnat. i already set the tunnel up, however for whatever reason, it doesnt seems to work/point to the wrong websites/application, the default apache page to exact.

the domain/subdomain is not directly managed by me. but it is already pointed to my server through cname records. i do have other domain (unlrelated to the website) managed with cloudflare, thats what it tried to use with for the tunnel.

before:
website1.com -> (cname) s1.server.net
website2.com -> (cname) s1.server.net

after:
website1.com -> (tunnel address) tunnel1.server.net
website2.com -> (tunnel address) tunnel2.server.net

is there any proper/correct way to do this?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 01 Oct 2023
1 points (100.0% 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