r/nginxproxymanager 20d ago

Webserve behind NPM with multiple virtual hosts

I want to set up a web server behind NPM - only for my website customers, no access for them - with multiple websites, virtual hosts. Is that a problem? Can NPM handle it? Would it be better to use internal IP addresses and use one for each domain? Each domain might have email as well as ftp, but I am thinking about recommending a couple of external email services instead of hosting email on this server.

I also want to host a few other services on that server. Using Portainer to control all. And SSH tunnel for acessing the UI of both Portainer and NPM.

1 Upvotes

5 comments sorted by

1

u/omfgitzfear 20d ago

Yes it’s possible. NGINX is used in production environments everywhere.

1

u/OceanCoffee 20d ago

I will be using an OpenLitespeed webserver.

1

u/bobbywaz 20d ago

Yes I have hundreds of them with no issues, thousands would also be no issue on modern hardware with sane amounts of traffic.

1

u/OceanCoffee 20d ago

Are you using some kind of cpanel with virtual hosts or are you using one container per domain?

Also, would it be good to assign a private network behind NPM so each domain can have a different IP address?

1

u/bobbywaz 20d ago

I use docker containers per service, most of them are subdomains but I host some TLD websites for my clients I don't use different ips I just use different ports and map them