As others have pointed out, you can't open MS Word on your website. However, you do have some options:
1. You can embed Word Documents for viewing. Here is a Google search with many examples of how:
embed ms word on your website - Google Search[
^]
2. Use a 3rd-party Word-like editor. Syncfusion has one that works with multiple frameworks - Asp.Net Core, Asp.Net MVC, Blazor, Javascript, etc. here is the JS version:
JavaScript Word Processor | WYSIWYG Document Editor | Syncfusion[
^]. IT supports MS Word documents. This is a commercial library, however they have a Community Licence which is free:
Free access to over 1,800 controls | Community License | Syncfusion[
^]