Hello,
Good first you have to have a provider to host your project and that will redirect to your domain "www.meusite.com.br".
If you do not opt for Azure and hire any other hosting provider, the easiest way is for you to give a "Publish" of your aspnet application to a windows directory, there it will put your files ready for publication.
To publish, you need to have an FTP address that your contracted provider will provide, and with this access, through an FTP program, just connect and send your files obtained by "Publish" to your provider’s directory.
Briefly, this is the simplest way. Of course, if you were developing to host in Azure, the path is different, follows in the quoted answer above, but Visual Studio automatically connects and publishes your application there, just connect to your account through Visual Studio, This is very simple, but when giving Publish indicate that it will be in Azure.
Of course, when hiring the hosting, it should be configured for Asp.net, and inform the framework that this your application, so first check the framework that your provider provides and build your application for this framework.
It depends a lot on the features and permissions available on the hosting and the version of Asp.net you are using.
– Leandro Angelo
@Leandroangelo, I would just like to publish a free hosting just for testing the application, because for example, I would like to test my app on mobile, so the Publish of my project Asp.net mvc
– Nicola Bogar
recommend that you first do a research on the subject, make your attempts and then return here with some specific problem... if any occurs...
– Leandro Angelo
Even within Asp.net there are many different ways to do this as publishing directly through VS to Azure, through GIT, through an FTP, creating a local folder and copying manually, etc. It depends on the project and the server environment. As commented by the staff it is necessary to generate a more specific problem to help you. :)
– rodrigorf
If it’s just for testing, you can enable IIS on your computer, and access... You can even create a dynamic domain (no-ip, dyndns) and make it public... I think it’s more feasible to learn how to publish on your own computer, then publicly on a hosting... And free services to host ASP.net I find difficult... Usually only demonstration
– Rovann Linhalis