publish site in Apache2


I have a system developed in ASP.Net using Razor, MVC, Entity Framework and Jquery which is published in a IIS and works correctly . I want to publish the same system on a Apache server (I'm not an expert on Linux platforms and therefore I ask for help).

What did I do? (according to some tutorials):

  • I installed Ubuntu version 16 and updated it
  • I executed these commands in this order
    • sudo apt-get update && sudo apt-get upgrade
    • sudo apt-get install libapache2-mod-mono mono-apache-server4
    • sudo apt-get install apache2 apache2-doc apache2-utils
  • I created a folder (ASP.Net files) within var/www/
  • Then I have to create a file .conf en ruta /etc/apache2/sites-available/ , edit the file and configure the virtualHost.
  • Can anyone tell me what is the correct configuration of virtualHost , and then what else do?

    Do we have to configure other files?

    asked by Kira11_11 27.01.2017 в 04:11

    0 answers