How do I map a shared network drive on Windows Server on my local client?

BToken 41 Reputation points
2021-05-29T01:11:22.047+00:00

I have a Windows Server 2019 instance running with AWS Lightsail.
My goal is to publish from Visual Studio on my personal Laptop (Windows 7) to the server directly (Not via FTP upload e.g.). The best way, I figured, is to map a network drive on my client machine then i can publish to that drive. However, due to my lack of knowledge in networking I don't succeed to establish a connection.

So far I have tried the following (server side):
Install "File and Storage Service" and created a share.
Install Active Directory and create a user representing my client machine. Add that user to Administrators group.
Created a domain controller.
In the firewall enabled TCP port 445 (SMB).

On the client I try with "Map network drive" to map the share but to no avail.

Someone told me i shoud try with VPN so I set up a VPN on the server but got stuck either.

I wish someone could give me step by step instructions what to do.
Thanks

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,693 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-05-29T20:02:21.363+00:00

    and this is certanly at least one of the issues.

    Ok, well nothing for us to go on, so sounds good then.

    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-05-29T13:49:18.707+00:00

    You can follow along here.
    https://docs.aws.amazon.com/fsx/latest/WindowsGuide/getting-started-step2.html

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. BToken 41 Reputation points
    2021-05-29T17:30:22.263+00:00

    I am not sure this is what I am looking for. This blog explains how to map an Amazon FSx file share to an Microsoft Windows–based Amazon EC2 instance.
    I asked however how to map a share on the Windows Server on my personal client machine which is not within the Amazone network.

    Whatever, I figure that i should go with FTP instead of mapped network drive, sinse the latter is only meant to be used within a local network and not over the internet.

    0 comments No comments

  3. Anonymous
    2021-05-29T17:38:48.813+00:00

    I have a Windows Server 2019 instance running with AWS Lightsail.

    Ok, then I was confused by this.

    I asked however how to map a share on the Windows Server on my personal client machine which is not within the Amazone network.

    Are the windows 7 and server 2019 on the same network? If not then some details may help. Is the windows 7 joined to the domain?

    0 comments No comments

  4. BToken 41 Reputation points
    2021-05-29T19:58:39.26+00:00

    Blockquote

    Are the windows 7 and server 2019 on the same network? If not then some details may help. Is the windows 7 joined to the domain?

    No, and this is certanly at least one of the issues.
    But hold on, I will try to do the job wit FTP instead, I think this is the better way to go.
    Thx anyways

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.