1

URL Rewrite including the port?

I have multiple services running on my home server, all on different ports. I was hoping to create a NextDNS URL rewrite so that something like `service.local` would redirect to `192.168.1.50:6789` or whatever port it's on. I've tried that exact composition but it is giving me an error -- see the attached screenshot.

Is this possible? And if so, how can I accomplish this?

8replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • I don’t think DNS entries can contain port numbers. Your rewrite would have to be just to the IP address. 

    Like
    • R P M correct

      Like
      • Cain
      • Cain
      • 2 mths ago
      • Reported - view

      R P M Ah, I guess I didn't draw the line between a DNS entry and the NextDNS URL rewrite lol. Do you know of any other way to make it happen?

      Like
    • NextDNS 

      Like
  • Hello,

    you can set overseerr.local to answer 192.168.1.18 without the port and then access your domain typing http(s)://overseerr.local:5055 to access your service. If you don’t want to type port you’ll have to configure your web server to answer to domain overseerr.local on port 80/443 depending if you want to use SSL or not, or you can set up a nginx proxy

    Like
  • I have various administrations running on my home server, all on various ports.

    Thanks

    website design company in Gurgaon

    Like
  • Hi, I wanna ask why my rewrite is not working, I want to rewrite the porn site to my own website, is like domain to domain, and clearly this thing doesn't work.

    Like
      • Harry
      • Harry.1
      • 4 wk ago
      • Reported - view

      NextDNS

      Like
Like1 Follow
  • 1 Likes
  • 4 wk agoLast active
  • 8Replies
  • 210Views
  • 8 Following