H
H
hbrmdc2015-08-02 22:19:29
Express.js
hbrmdc, 2015-08-02 22:19:29

How to bind the port of a running server to a domain name?

isomorphic application. VPS, server on nodsjs+express. Render from the .ejs template
launched, got a working server at myserver.com:8080
delegated the domain to the same provider, now it leads, apparently, to the address myserver.com
How to connect the express server with the domain?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2015-08-02
@hbrmdc

No way, raise the server on port 80 or redirect port 80 to 8080 through a firewall or some kind of nginx

V
vreitech, 2015-10-09
@fzfx

for software that supports resolution of DNS server SRV records, you can specify a record like _<service_name>._[udp|tcp].<domain_name>.
this Teamspeak can do, for example: https://support.teamspeakusa.com/index.php?/Knowle...
web server (or rather, browsers) like this functionality is not supported. as mentioned above, you should use port forwarding through a web server or firewall.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question