Redirect Domain To Ip With Port
How to use dns to redirect domain to specific port on my server.
Redirect domain to ip with port. If both services are. Dns only handles domain ip mapping. First add a dns record for your subdomain. It cannot map the default port 80 to a custom port you will have to use a reverse proxy for that.
Found this thread and it hits the head of the nail but i tried on a buntu 14 04 apache2 ispconfig3 and no luck so far. Jer5547 february 4 2019 4 07am 4. Add a new server block. October 21 2019 9 30pm 5.
I ll like to achieve something similar i would like to redirect some domain to another port else 80 let s say 85. Nginx is one of the most popular reverse proxies that are used to do that. Since 30120 is the default port u wouldn t have to include it cause it listens to that by default. Im hella sure u know this but u do not need to include the listner in the domain the domain redirects to the ip adress and does not listen to the port.
1 a server or workstation hosting the service has a static ip address. How to install nginx on ubuntu 14 04 lts. Surely there s a provider that will give me a free ssl and allow me to point my domain to my ip with a port. If you are running a web service that is run on port 80 by default on your home network computer accessible from the internet you can redirect your namecheap domain to an ip address of the server along with a port.