New on LowEndTalk? Please Register and read our Community Rules.
WHMCS Reverse Proxy
inb4 "Welcome to LowEndHalpDask!" I already submitted a ticket, but I know how much folks here love to help other folks out so I'm betting I'll get an answer here quicker.
If I set up WHMCS behind a reverse proxy, which IP will show up as the my install's IP as far as their license verification system is concerned? The reverse proxy's IP? Or the IP where the WHMCS install actually resides?
Comments
WHMCS verify by your domain, not your IP.
Shows how much you know... They check the Public IP, Directory it's installed in and the domain.
Try it, move your WHMCS from your folder to another, and try and log in the admin area, does it give you an error?
Don't believe me?
http://docs.whmcs.com/Licensing#Moving_WHMCS
I know, but OP got valid license install on his back end server, and serve from a public server.
WHMCS will record domain, IP, directory from the back end server, so he will be fine. WHMCS domain verify will show his domain is valid on WHMCS.
The best example is CloudFlare CDN...
Well the answer is, you have not really given us enough information to answer you, how is your reverse proxy set up, what is the seperation between the front end and back end, it is NAT, over VPN, dedicated IP, tunnel.
There are so many options for reverse proxying and what is proxied and how you do it affects how the back end communicates with other things and other services.
So maybe give us a little more info about your reverse proxy setup, be as specific as possible and we can probably answer you.
If you say "I used Nginx" and nothing more... I am out.
I've setup a NGINX proxy for WHMCS before - however, you need a backend domain hosting WHMCS anda fronend proxying requests to that server.
MAKE SURE you forward the real IP and configure WHMCS to use it, or services like MaxMind will not work properly.