R
Railway4mo ago
Stef

project ip address

so i setup a eployment using the Nginx Proxy Manager template, but what ip do i put in the A record in order for the proxy to actually work? project id: 29fe5625-5c86-45a0-a9d5-cd9822c58c80
12 Replies
Percy
Percy4mo ago
Project ID: 29fe5625-5c86-45a0-a9d5-cd9822c58c80
Brody
Brody4mo ago
may i ask why the proxy manager was used?
Stef
Stef4mo ago
wdym? i was searching a free way to host Nginx Proxy Manager and some people suggested me to use railway so i did and made it with the template
Brody
Brody4mo ago
right but I never understood the purpose of that template, what does it help you achieve
Stef
Stef4mo ago
nginx proxy manager is just a nginx reverse proxy, but with an user interface can be used to point the domain to another ip/hostname for example on the proxy - example.com could be pointed to 12.34.56.78:5000, then https://example.com would show the content of http://12.34.56.78:5000 - abc.def.com could be pointed too my.hostname.com:30158, then https://abc.def.com would show the content of http://my.hostname.com:30158 (including they paths) and both domains pointed to the same ip address
Brody
Brody4mo ago
but what are you using it for? for some reason I have a sneaking suspicion that there's a better way to do whatever you're doing
Stef
Stef4mo ago
cause the host i use for some of my sites use urls such as catfein.alfari.id:PORT and i want to link a domain to them an example http://catfein.alfari.id:30009 which is an instance of NTFY
No description
Brody
Brody4mo ago
then im not sure where nginx proxy manager comes in to play here, can't this be done with cnames in your dns provider?
Bartek
Bartek4mo ago
i think you could use caddy for this
Brody
Brody4mo ago
true, but with the information I'm given I don't currently see a need to use a reverse proxy
Stef
Stef4mo ago
i can use CNAME in some of my domains, but not all since some of them have other records i can use CNAME, A, AAAA, MX, TXT, URL (redirect) so on some only IPv4, IPv6 and some other can sue the cname
Brody
Brody4mo ago
okay, well in that case, railway does not have a static IP, you can't use IP addresses, you need to use cnames