Question / Help Why can't connect using domain to my own nginx rtmp server?

joequah1

New Member
Hi,
I have just tried to setup my own nginx rtmp server following a few guides.
Everything was ok, I can stream without issue, and even stream using hls.

The problem I'm facing now is I'm not able to connect using domain name, using IP was ok.
To view the stream with domain is ok though.

I tried with 2 domains, one in Cloudflare, the other in Digitalocean. Both unsuccessful.

Can anyone please enlighten me on why and how to do it?
I have googled the whole day, but couldn't find any solution to it.

I wanna connect the studio to my server using rtmp://domain.com/live instead of rtmp://ip/live

Btw the guides I followed are
https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/
http://selimatmaca.com/index.php/live-streaming/142-hls-streaming-with-nginx-rtmp-module

Thanks in advance.
 
Top