azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.45k stars 119 forks source link

[FEAT]: Multiple hostnames #179

Closed QazCetelic closed 8 months ago

QazCetelic commented 8 months ago

Feature Description

As a user, I want to add multiple hostnames to Cosmos, so I can access the Cosmos management UI through my local network or DNS hostname record when using my mesh VPN.

azukaar commented 8 months ago

do you mean vpn.domain.com? you can use your domain name in your local network too

or do you mean to access the cosmos UI

QazCetelic commented 8 months ago

I meant the Cosmos UI

azukaar commented 8 months ago

In your local network you can use the same domain as external inside the mesh VPN simply use the embedded DNS to rewrite the IP of the main domain to a tunneled IP