How to host multiple websites on Nginx

How to host multiple websites on Nginx

Abstract programmer

1 год назад

19,644 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@fabioto-y7w
@fabioto-y7w - 20.02.2024 02:26

Uauuuu, I ask you yesterday, and today you have done it. A great hug from Brazil to you Matan.

Ответить
@lotus_p8
@lotus_p8 - 15.03.2024 06:50

thank you. to the point and worked perfectly.

Ответить
@BudiSetiawan-ns3rk
@BudiSetiawan-ns3rk - 24.03.2024 19:10

Will restarting Nginx cause downtime on the website?

Ответить
@Crazy_Clips_Official
@Crazy_Clips_Official - 01.04.2024 22:00

can you asign the domains to the ip after?

Ответить
@Crazy_Clips_Official
@Crazy_Clips_Official - 02.04.2024 13:08

When I put www. Infront of the domain it does not work. How can i fix that

Ответить
@mustafa.celiktas
@mustafa.celiktas - 19.04.2024 21:46

thank you so much

Ответить
@numankaraaslan
@numankaraaslan - 05.05.2024 01:19

Do we have to use 2 different files? can i just use reverse-proxy.conf file and multiple server blocks?

Ответить
@numankaraaslan
@numankaraaslan - 05.05.2024 01:21

I am trying to use the reverse-proxy.conf file and multiple server blocks. But it only redirects to first server block always. Why do you think that happens?

Ответить
@DangerZONEpixel
@DangerZONEpixel - 05.07.2024 16:35

imagine using the old nginx and configuring it all through the shell when nginx proxy manager by JC which is fully manageable through a webui and has been out for at least 5 years

Ответить
@gabrielrossirocha
@gabrielrossirocha - 22.07.2024 20:55

It works if sites are hosted in another VMs? I mean, I have two websites hosted on two different VMs. Could I use NGINX to forward the traffic to this websites based on the URLs used?

Ответить
@GlowB66
@GlowB66 - 30.07.2024 08:09

you are my life saver! thank you bro keep it up

Ответить
@bakhadher2240
@bakhadher2240 - 08.08.2024 09:49

what if i don't have domain name i just use server ip to access it?
will it be the same way ?

Ответить
@bigacres
@bigacres - 07.09.2024 19:43

Great overview I wish I had this video back in my bluehost noob days

Ответить
@tyzen_net
@tyzen_net - 14.09.2024 15:41

Thank you very much! 😀

Ответить
@cba8228
@cba8228 - 20.11.2024 23:49

Short and clear 👌 thanks...

Ответить
@ikhwanmuhammad4612
@ikhwanmuhammad4612 - 05.12.2024 20:14

I just followed your tutorial, but my domain still pointing same with ip address (default). Whats wrong, please help me

Ответить
@icollided
@icollided - 02.01.2025 04:20

is sites-available depreciated? I just started learning nginx. I don't seem to have those folders.

Ответить
@jordivandijk9138
@jordivandijk9138 - 09.01.2025 01:25

Until now, I have only used Windows servers and IIS, but this is so much better. Finally liberation

Ответить
@Chunderbluck
@Chunderbluck - 07.03.2025 00:09

Thankyou thankyou thankyouuuuu, exactly what I needed.

Ответить
@Atul_25
@Atul_25 - 22.03.2025 14:13

That's awesome

Ответить
@zzrgio
@zzrgio - 02.04.2025 02:51

amazing thank you sm!! can you tell me how we can listen to the same port (443) from two different virtual ubuntu servers in two different devices with each static ips?

Ответить
@teddyestablet6963
@teddyestablet6963 - 07.04.2025 22:07

Hi, I'd like to set up two separate sites on the same IP address, with the specific feature of having /app for one of the two sites.

Specifically, the landing page would be on /
the platform would be on /app/

Do you have a solution for this?
I need to use React and React+ quickly.

Thanks in advance.

Ответить
@randomnaamofzo1246
@randomnaamofzo1246 - 18.04.2025 19:04

This information is outdated: sites-enabled and sites-available is depricated.

Ответить