Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1146 Discussions

how to bind a domain name to Intel WebRTC?

aven
Beginner
465 Views

how to bind a domain name to Intel WebRTC?

www.xxxx.com=>210.12.xxx.xxx

Router
210.12.xxx.xxx

WebRTC Server
192.168.1.xxx

Web browser visit:https://www.xxxx.com:3004/

got the token by base64 decoder :

{"tokenId":"580f118c6a434e36e5345253","host":"192.168.1.xxx:8080","secure":true,"signature":"MTNiUTM3PTc5NzI1ODRkYzk4NGQxZmNmOTJkODVmYWJmODQ4MDE0YmQxODhjZjlhZTA2MTUzNTAzNzgyOTRkOA=="}

but i want to get www.xxxx.com,not 192.168.1.xxx

0 Kudos
3 Replies
aven
Beginner
465 Views

Router config use "one-to-one NAT".

0 Kudos
Naresh_R_1
New Contributor I
465 Views

Hi, 

You can use NGINX webserver  for the same and point domain 

And change the configuration in portal.toml as shown below

[portal]
keystorePath = "./cert/certificate.pfx"
hostname = "socket.domain.com" #default: ""
ip_address = "" #default: ""
port = 8080 #default: 8080
ssl = true #default: true
#The network inferface the socket.io will be bound to in case portal.ip_address (the 'ip_address' item above) is not specified or equal to "".
# networkInterface = "eth1"

 

and configure another domain for basic example on port 3004, 3001 redirecting to 443

And also you need to have SSL certificate for secure connection 

Thanks

Naresb

 

 

0 Kudos
aven
Beginner
465 Views

Thank you very much.

0 Kudos
Reply