How to point an URL to two websites hosted on one webserver

Viewed 10

I have two websites currently set up using < servername >:port1 and < servername >:port2

But I would like to reach these using more user friendly URLs:

website1.domain.com and website2.domain.com

Web server is Nginx on Windows server and environment. I know DNS can't handle this, so I'm a bit lost.

Any help is appreciated, thanks.

0 Answers
Related