Avatar of sivaatluri
sivaatluri

asked on 

How to host multiple webites on Nginx

Would like to host multiple websites on Nginx Servers.

Take for example below domains should be hosted on single nginx server

abc.com
cde.com
efg.com
Linux

Avatar of undefined
Last Comment
Zephyr ICT
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of sivaatluri
sivaatluri

ASKER

Are the port numbers going to be same for all the websites...

What if I want to have each website a specific port?
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

You can keep them the same or use different ports, your choice.
Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo