D
D
Dmitry Demin2014-05-02 14:23:02
Computer networks
Dmitry Demin, 2014-05-02 14:23:02

Is it possible to use two platforms on the same server?

Hello. There is a customer site written by someone in ASP and there is an order that needs to be written in NodeJS. Is it possible to use them within the same domain, using different ports, and not be afraid of restrictions on cross-domain requests?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-05-02
@keksmen

Of course it is possible. How to do it depends on the task. You can simply make the node listen to all requests on a specific port, but this has its drawbacks if you need to give statics as well. You can set request proxying through which nginx, for example, so that it would give the statics, and the node would process everything else.

S
svd71, 2014-05-02
@svd71

two options:
1. Create a subfolder on the root of the first site and place the desired content in it. It will look like this: http://mysite/myextrafolder/
2. Creating subdomains in IIS , support.simpledns.com/kb/a82/virtual-hosting-with-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question