Author Topic: Redirecting the site to another IP on the same network  (Read 1195 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Redirecting the site to another IP on the same network
« on: January 20, 2024, 11:59:39 PM »
How can I point a web address (domanxx.com) on the cwp nameserver directly to the IP (192.168.1.55) address of another computer on the same network?

Offline
*****
Re: Redirecting the site to another IP on the same network
« Reply #1 on: January 21, 2024, 12:24:49 AM »
Servers normally have a public IP.

You can use NAT, but the restriction is you have to point port 80 & 443 to the single private IP with the webserver running.

So you can't have 1 public IP, and 2 web servers with private IP's.
As you can't redirect those ports to 2 different private IP's at the same time.

I'm gonna try Google translate below to Turkish.

--

Sunucuların normalde genel bir IP'si vardır.

NAT kullanabilirsiniz, ancak kısıtlama, 80 ve 443 numaralı bağlantı noktasını web sunucusu çalışırken tek özel IP'ye yönlendirmeniz gerektiğidir.

Yani 1 genel IP'niz ve özel IP'li 2 web sunucunuz olamaz.
Çünkü bu bağlantı noktalarını aynı anda 2 farklı özel IP'ye yönlendiremezsiniz.

Offline
*
Re: Redirecting the site to another IP on the same network
« Reply #2 on: January 21, 2024, 01:39:46 PM »
https://drive.google.com/file/d/162YeeSIk6LZBAnrAJJ8ET9vadF59r8h1/view?usp=drive_link

ıs ıt possıble?

ıf possıble, ı would love ıt ıf you send me a photo of where to set ıt.

Offline
*****
Re: Redirecting the site to another IP on the same network
« Reply #3 on: January 21, 2024, 03:06:50 PM »
You can't.
CWP isn't a router that can redirect different websites to different internal servers.

Each server needs to have a Public IP address for it's own webserver on port 80 & 443.

Now with NAT, you could redirect certain ports/services to certain internal IP's.
But again, you can NOT redirect the same port to multiple internal IP's.

If you want multiple servers, you have 2 options:
1. use servers on the cloud with Public IP's
2. ask your ISP if & how much a Static Public IP allocation would cost.

The local route would require you purchasing a router, firewall, switch, etc.
And the knowledge how to setup & configure it all.

Offline
*****
Re: Redirecting the site to another IP on the same network
« Reply #4 on: January 21, 2024, 10:33:25 PM »
I've been down self-hosting before on a biz class connection, even on EPB Fiber (#2 in the nation after Google Fiber) and it is quite a job. Maybe a valuable learning experience, but I don't want to relive it. If it says anything, my servers are now co-located in Las Vegas and Milwaukee -- now I have a symmetric gigabit internet backbone connections, professional routing management, power switch control panel, industrial battery backups and diesel generators -- all for far less than what my business connection was costing.

Offline
*****
Re: Redirecting the site to another IP on the same network
« Reply #5 on: January 22, 2024, 05:18:13 AM »
Agreed, setting up a home lab for learning if great, but not for production use.

Forgot about the battery backups & generator.

But then there is the cooling required and noise also.