1
submitted 1 year ago by cjoenic@alien.top to c/main@selfhosted.forum

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

0 readers
0 users here now

The main community self-hosted.forum

founded 1 year ago
MODERATORS