Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Web server structure scheme
I recently had a commission to set up a web server structure for a company. We have a main domain that we have in CloudFlare for cache, ssl, rules, etc.
We have this pointing to the public IP address. We have several subdomains, web (machine with PLESK), storage (nextCloud), internal application, financial application …
In the router, we have the ports open to v-machine 01, which only has NGINX to launch requests to the different v-servers.
We have a single physical server with different virtual machines.
Virtual machine for NGINX (machine 01)
Virtual machine for web application
Virtual machine for the internal application
Virtual machine for financial application …
Is this approach correct? How should I protect both the NGINX machine and the servers behind it?
Should I configure ssl certificates on all machines or with what cloudflare offers (ssl on all connections) would that be enough?
Sorry to be such a newbie but I hope you give me a hand!
Before I had all the applications on a single machine, without differentiating anything, but I had performance problems and that I cannot put port 80 for more than one subdomain … With NGINX I think that this is solved together with dividing the virtual machines into several virtual machines applications that I have to open.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×