locked
Web Sites, Apache RRS feed

  • Question

  • User497432264 posted

    Hello good afternoon.

    Having an OS: Debian 10, Web Server: Apache, Database: MySql I have managed to run an Asp.Net Core site, configuring the reverse proxy, etc. etc. so far everything ok.

    What I would like to make work is the following and I do not know if it can be achieved, or if this is possible.

    The idea is that more than one Asp.Net Core website can be run on the same server (Debian-Apache), with their corresponding data access, etc.

    for example:
    www.someaddress: 81 run the NetCore app1.
    www.someaddress: 82 run the NetCore app2.
    etc.

    I have managed to do this with a W1O Server, IIS Express, but I really want to stop depending on Windows on the one hand, and on the other, the performance looks very deteriorated.

    First of all, thank you very much

    Sunday, November 29, 2020 12:54 AM

All replies

  • User-939850651 posted

    Hi Ariel Moreno,

    What I would like to make work is the following and I do not know if it can be achieved, or if this is possible.

    The idea is that more than one Asp.Net Core website can be run on the same server (Debian-Apache), with their corresponding data access, etc.

    for example:
    www.someaddress: 81 run the NetCore app1.
    www.someaddress: 82 run the NetCore app2.
    etc.

    I think what you are describing is hosting multiple websites on a single server through port-based virtual hosting. 

    Port-based virtual hosting is a method to serve different websites based on the port number. You can assign a separate port number for each website on a single server with a single IP address.

    You could also refer to this article for more details.

    Best regards,

    Xudong Peng

    Monday, November 30, 2020 6:49 AM
  • User497432264 posted

    Thank you Xudong Peng

    I already did the test the way you have indicated. The test was successful in part, but not for me.
    When it comes to static pages, no problem.
    The problem is that I don't know how to configure Apache as a proxy server for more than one asp.net core website.

    Monday, November 30, 2020 7:58 PM