Welcome! Log In Create A New Profile

Advanced

Mapping nginx server to the DNS through a VPS IP address

Posted by sk1908 
Mapping nginx server to the DNS through a VPS IP address
August 31, 2021 08:34AM
Team:

I have a situation where I am trying to map a subdomain to a locahost web application running on nginx server through an ip address owned through another vps provider. So far, I have set the nginx reverse proxy on the device where the web app server is, and mapped the domain through the vps ip address on the domain registrar side. I am seeing the subdomain working on the device where the server is. However, it is not accessible on the internet. Any suggestions on how to make this work would be greatly appreciated.

Config that I have:
Device with ip address 192.168.0.x running the localhost web app --- includes nginx server - reverse proxy to localhost with a server name that is -mapped to the subdomain

--sk1908
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready