0

I'm working on a solution with an offshore team and I want to create my server on European union for GDPR requirements.

I want to create a subdomain.domain.example on my OVH control panel and make a redirection of a given IP4:PORT (IP4 is provided by dev team, PORT is for example 4000) to this subdomain on OVH.

I mean when a user types the URL: subdomain.domain.example it will redirect him take him to IP: PORT

What I've done so far

1- I have created an invisible A redirection to this IP4, so I can see the content of the IP web hosting when I type domain.example or www.domain.example

What's missing I've tried SRV and A redirections but can't find how to make it with port number?

The expected result is to type a subdomain.domain.example and see the content of the IP4:PORT

Is there any solution on DNS records on OVH portal or how to configure a reverse proxy because I've seen lot of discussion about reverse proxies but don't know how to do it on OVH portal

Patrick Mevzek
  • 10,581
  • 7
  • 35
  • 45

1 Answers1

1

no, DNS can't redirect the request to a different TCP Port, what DNS does is resolve fqdn do IP, if you need to change the request from one TCP port to another you need something to forward the request.

Please check if this helps: Nginx: How do I forward a http request to another port?