Re: Want to Deploy Web App Behind a Reverse Proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Osman,

I think you really need to understand the things you are using before trying to actually use them.

You need to have an IP address to point the proxy, even if it's 127.0.0.1 on some random port like 3000.

You don't really need to pay for a domain, there are "free" services that provide you with a DNS entry you can point to where you want BUT, and a BIG BUT, they have their own rules and you probably won't have full control of it, which can be quite bad for a service.

As Frank already pointed, Proxies are agnostic for ENV variables, CGI or whatever is behind the proxy, they CAN inject some info but that's very specific and doesn't seems to be your case.

The IP of the reverse proxy is where the httpd daemon is Listening on, you configure that and when it's running you can check what ports are open using tools like 'ss' or 'netstat' on Linux. If you want it to be always working, you need to have the service always online, be a VPS, a cloud computing node or your own computer (leaving him turned on always).

These things are not REALLY attached to httpd itself but are more conceptual to *any* webserver, dns, proxy that you may use. I encorage you to first learn how they work (even in high level, doesn't need to go into details of the source code) before trying to use / set them up, otherwise you will hit some bugs by not understanding what you are actually doing.

Also, whenever you want to share files with a mailinglist, I recommend you to post into a pastebin / gist or anywhere online, otherwise you are sending this to all the users in the mailing list, even if they are just text files.

On Thu, Sep 20, 2018 at 3:59 PM Osman Zakir <osmanzakir90@xxxxxxxxxxx> wrote:
If I'm using a reverse proxy, do I need the IP address of the reverse proxy server?  And if so, how do I get the IP address of the reverse proxy server (if you don't want to tell, please point me to a resource I read about it on)?  I got a free subdomain name from subdomain.net.  So do I put Apache's IP address (if I can find it) in for IP used by the host name in my hosts file?

From: Eric Covener <covener@xxxxxxxxx>
Sent: Thursday, September 20, 2018 9:20 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: Want to Deploy Web App Behind a Reverse Proxy
 
On Thu, Sep 20, 2018 at 10:57 AM Osman Zakir <osmanzakir90@xxxxxxxxxxx> wrote:
>
> I haven't changed what I'm saying my problem is that much.  I'm probably having a hard time explaining it.
>
> The host name seems to be the main problem, though, aside from the environment variables.  I don't have a host name.  I'd prefer it if I could get a free subdomain and get my server to take it (without having to pay any money if possible).

The server doesn't "take" a hostname. If you have a domain, you need
to setup the DNS outside of the webserver to point to the right IP
address. Or, mock it up on your workstation with your local host file.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



--
[ ]'s

Filipe Cifali Stangler

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux