What's new

Two https domain two devices same external IP

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

BaGRoS

New Around Here
Hi
Let say I have two domains
first.com
second.com
And I will redirect traffic from first to 192.168.1.201, from second to 192.168.1.202 ports 80, 443... But still I have only one external IP, this is possible? If yes, how???
Many thanks,
BaGRoS
 
It is but you'll need to setup a proxy between - something like nginx.

Route everything to that with port forwarding then nginx splits and routes from there with the two DNS entries being defined as separate servers in its config.

Edit: Haven't tried it but https://github.com/pedrom34/TutoAsus looks to cover what you're after and possibly more.
 
Last edited:
NGINX works very nice on the router. There is an Entware version available to download. I use NGINX on my AC86U to proxy to two different domain names (nextcloud server and openoffice server).
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top