Ask How can I successfully redirect a domain internally to the IP:port?

Brajet

Emerald
DOLLAR$
$4,707.36
The problem: I've recently set up immich on proxmox and set up a cloudflare tunnel to be able to access it remotely. This works well, but I'm coming up against cloudflare's free tier 100 Mb file size limit when it comes to uploading videos. I'd like to internally resolve the public facing domain to the IP:port of the immich server so videos will successfully upload when I'm on my home network.

The setup: I have ubiquiti networking hardware and a pihole also running on proxmox. The pihole can't do this since dns redirects can't do ports. I also have an nginx proxy manager running that I'm not doing much with I don't have a lot of experience with npm but it's not clear to me how to use it to solve this problem.

I believe I'm overlooking something obvious because it seems like this should be an easy problem to solve.
 
You can redirect a domain internally to an IP and port, but it usually needs server-level setup. On Nginx or Apache, you can create a virtual host or server block that points the domain to the IP and port you want. Make sure the firewall allows that port and your local DNS or hosts file points the domain correctly. It's a bit technical, but once configured, any request to your domain will go straight to the right IP and port without affecting other sites.
 
To redirect your domain internally to the IP:port, you can utilize the nginx proxy manager. In the nginx proxy manager, create a new proxy host and configure the "Forward Hostname/IP" field to the IP address and port of your immich server. This will allow the public-facing domain to be resolved to the internal IP address and port, bypassing the Cloudflare file size limit. The nginx proxy manager provides a user-friendly interface to set up this type of internal domain redirection, making it a great solution for your needs.
 

RECOMMENDED COURSES

  • Digital Marketing A-Z
    Digital Marketing A-Z
    Digital marketing turns clicks into conversations—and conversations into loyal customers.
    • BMF.io
    • Updated:
  • Create a Membership Site A-Z
    Create a Membership Site A-Z
    Build and Run Subscription Websites for Reliable, Recurring Income
    • BMF.io
    • Updated:
  • Start a Freelance Business A-Z
    Start a Freelance Business A-Z
    Becoming a freelancer is one of the easiest and fastest ways to start your own business.
    • BMF.io
    • Updated:
  • Affiliate Marketing A-Z
    Affiliate Marketing A-Z
    Affiliate marketing is when a merchant pays an affiliate for sales, clicks, or leads.
    • BMF.io
    • Updated:
  • Create an Online Course A-Z
    Create an Online Course A-Z
    Design, Develop, and Run Your Own Profitable & Engaging Online Training Program
    • BMF.io
    • Updated:
  • Group Coaching Program A-Z
    Group Coaching Program A-Z
    How to Design a Group Coaching Program That Expands Your Impact & Transforms Lives
    • BMF.io
    • Updated:
Back
Top