Easily configure a performant, secure, and stable NGINX server.Learn More
Multiple Servers access using a single public IP
I am just new to Nginx and keen to learn about Nginx max. features. 1st of all I want to learn from the scratch. How to configure Ntinx SSL redirects for multiple DNS records using a single public IP such as I’ve a single Public IP and I want to redirect as following.
Suppose I’ve a domain name example.com with Public IP 188.8.131.52
app1.example.com to my Private IP 192.168.1.100
app2.example.com to my Private IP 192.168.1.110
aap3.example.com to my Private IP 192.168,1,120
I simply need to re-route any request for http and https to redirect to HTTPS protocol from a sing Public IP assigned to multiple sub domains to Nginx and Nginx to my Serves with above defined servers.
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.×