We have a website that is running using nginx:
and let's say it's IP is
Then we have an account in
https://cp.dnsmadeeasy.com/ we are using this to manage all our dns routing. We have a portal which is located in
So bascially the portal is just a directory inside
What we want to do is add a subdomain
portal.mywebsite.com.au. We need a portal subdomain so we added an entry to dnsmadeeasy.
What we want is when you browse
portal.mywebsite.com.au is we can see the same thing in
mywebsite.com.au/portal so it's like a mirror of our portal. So we added the
portal subdomain and also point it to same IP Address
192.168.1.1. So technically it is pointed in the same server.
When I browse the site,
portal.mywebsite.com.au it says nginx 403 forbidden.
My question is that, is
portal.mywebsite.com.au is being served in the same nginx installation or config? How do I map in nginx
portal.mywebsite.com.au to render the same content or files that is located in