Community
cancel
Showing results for 
Search instead for 
Did you mean: 
aven
Beginner
77 Views

how to bind a domain name to Intel WebRTC?

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

Tags (2)
0 Kudos
3 Replies
aven
Beginner
77 Views

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

Naresh_R_1
New Contributor I
77 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

 

 

aven
Beginner
77 Views

Thank you very much.