Configure Windows Server 2019 as as FTP Server with FileZilla FTP client

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone welcome to encryption the tech tips and tutorial channel in this video tutorial i'm going to show you how to configure windows server as an ftp server and verify with ftp access the lab scenario will be like this we'll have a windows server 2019 with the name nt heroes dash dc01 with the ip address 10.10.10.17 24. this is a domain controller the main server of the demo organization this will control all the objects in the organization such as users computers other servers etc we will install active directory domain services with the domain name network heroes dot local and here we have windows server 2016 with the name antiheroes dash ftp and ip address of 10.10.10.16 24 this server will be a member of the domain we will configure this server as the ftp server in the network here we will have another host windows 10 with an ip address of the same network and it will not be a member of the domain i have installed filezilla ftp client in this windows 10 so that we can verify connection between ftp client and ftp server then we can easily upload and download files over the network i have not yet configured anything on these servers they are just fresh machines i will configure everything from the scratch as per the diagram and as per this scenario here i am on windows server 2019 which we are going to configure as a domain controller so first of all i'm gonna configure static ip to the server i verify the current ipconfiguration in server with ipconfig space slash all command on its command prompt now this server is obtaining an ip address from dhcp server and i will configure the static ip same as the current configuration so to configure static ip i just press windows plus r key and type ncpa.cpl i adjust this window in the side i right click on ethernet 0 and click on properties here i double click on internet protocol version 4 then click on use the following ip address here i assign the ip address as 10.10.10.17 and the subnet mask as 255.255.25 the default gateway uh is here we can see in the command prompt window 10.10.10.2 i leave the preferred dns server box as the blank and then alternate dns server as the dns server of my network that is 10.10.10.2 and then click on ok again click on ok now we should get the internet connectivity then i go to the command front and type ipconfig space slash release to verify if we have internet connectivity just type ping and google.com as you can see reply is coming from google.com this proves that we have correctly configured the ip addresses and we have internet connectivity i close this window and also close the command prompt then in the server manager i'm going to change the name of this server so click on local server and here we can see the computer name is windash something something something just click on that click on change and type the computer name uh for example nt heroes dash dc 01 then click on ok as you can see i have got a prompt that reads you must restart your computer to apply these changes just click on ok and then click on close click on restart now wait for the server to restart and then we will make further configurations okay the server is rebooted right click on the virtual machine and click on send control alt delete give the administrator password and then hit enter now wait for the server manager to load and the server manager loads automatically wouldn't have to manually open the server manager okay the server manager is fully loaded now i'm going to configure active directory domain services in this server so i click on manage and click on add roles and features here click on next leaving the role based or feature based installation selected click on next we are going to install the role on this server so click on next check on active directory domain services click on add features click on next again click on next just click on next click on restart the destination server automatically if required and then click on s wait for the features to be installed it may take some time to install the checked items so i fast forward the video ok the feature installation is complete just click on close button here on the server manager dashboard we can see an allo exclamation just clicking on that we see that post deployment configuration and we can see the link promote this server to our domain controller just click on that now uh click on add a new forest and give the root domain name as for our scenario the domain name is network heroes dot local and click on next now uh create a strong password and retype the password to confirm and then click on next we can see a warning just ignore the warning and click on next the net bias domain name is network heroes it's okay just click on next click on next again click on next and here we can see all prerequisite checks passed successfully click install to begin installation uh you are about to signed out when we install or remove active directory domain services the server needs to be restarted just click on close okay the server is restarting wait for the server to reboot okay windows server 2019 is now rebooted just right click on the virtual machine and click on send control alt delete and here as you can see uh in the login name before the administrator we can see network heroes and backslash then administrator this is how the username appears when we install domain controller in the server or the computer is a member of a domain controller just type the administrator password and hit enter okay the server is logged in and we can see the desktop now the server manager is loading just clicking on local server we can see the computer name is changed and the server is now a part of domain controller with the domain network heroes dot local we can see the ip address on the ethernet now i think i need to make some modification on the network configuration so i just press windows plus r key and then type ncpa dot cpl here i right click on ethernet 0 and click on properties double click on internet protocol version 4 here under the dns server addresses section we can see preferred dns server is 127.0.0.1 i'm going to change this to the dns server uh which is this server itself and the server's ip address is 10.10.10.17. for the alternate dns server i'm going to keep the dns server address as the dns address of the gateway which is 10.10.10.2 then click on ok now to verify i open command prompt and ping the google we have the network connectivity and the internet connectivity just close on the windows okay the domain controller is successfully configured on this server now let's move on to windows server 2016. here on the server manager of windows server 2016 which we are going to use for ftp server uh just click on local servers first of all i'm gonna change the name of the server as per our scenario so i just click on the computer name click on change give the computer name as nt heroes dash ftp and click on domain then specify the domain that is network heroes dot local click on ok as you can see i have got an error an active directory domain controller adds for the domain a2 heroes dot local could not be contacted insure that the domain name is typed correctly now we have typed the domain name correctly but we need to tell this server windows server 2019 is the dna server and we have to configure the ip address accordingly so for that i'm gonna check the ip configurations on the server so i just type cmd and on the command prompt i just type ipconfig and hit enter as you can see uh the ip address is 10.10.10.16 and the default gateway is 10.10.10.2 so i'm going to configure static ip to this server as per this uh ip configurations which this server is now getting from the dsb server so i open run and type ncpa.cpl right click on ethernet 0 and click on properties double click on internet protocol version 4 click on use the following ip address and type the ip as 10.10.10.16. submit mask as 255.255.255.0 the default gateway is 10.10.10.2 uh click on use the following dns server addresses and in the preferred dns server give the ip address of the domain controller on which dns server role is also installed and that is resolving ip address to a name for the computers who are member of that domain and then click on ok then click on ok again now click on ok give the username as network heroes which is the domain name and then administrator give the password click on ok now we can see uh welcome to the network heroes dot local domain just click on ok you must restart your computer to apply the changes click on ok click on close click on restart now the server is restarting with the new ip addresses configured computer name changed and joined to the domain as the windows server 2016 is restarting let's go back to windows server 2019 or the domain controller then click on tools click on active directory users and computers here expand network heroes dot local and if you click on computers you can see nt heroes dash ftp this computer or the windows server 2016 is now a part of this domain so we can see it listed on the active directory users and computers and on the computer section now i'm gonna create an organization unit for the servers so right click and then click on new organization unit here i name the organization unit as servers and then click on ok now i'm gonna move the ftp server to the servers organizational unit or the group so i click on computers click on anti-heroes dash ftp select it and then move it to the servers just click on s on the prompt checking back it's still getting ready and it's saying that don't turn off your computer i pause this video and i will be back when the server gets ready uh okay a windows server 2016 is now ready and we can see the login screen here the administrator user is the local user of this computer but we should log in as the user which is member of the domain so i just type the username as network heroes backslash administrator and type the password okay it's logged in and we can see the desktop the server manager is loading uh just click on ok on the vmware tools prompt it's signing out again i right click on the virtual machine and click on send control alt delete again type the password to login now i go back to the windows server 2019 and create some users so just click on tools and then click on active directory users and computers right click on users click on new and click on user i type the first name as user and then full name also user the user login name as user1 and then click on next i create a password and then confirm the password then click on next click on finished in the same way i create other users user 2 the login name also user 2 and then click on next create a password and then confirm the password then click on next again i'm gonna create one more user type the first name as user3 user logon name also user3 then click on next type the password confirm the password here you can see now we have three users now i'm gonna create a group and place all these users to the group so on the network heroes dot local i right click and click on new then click on group give the group name as ftp dash access and click on ok now i'm going to create an organization unit and then move the ftp access group to that unit so right click on network use dot local and click on new click on organization unit name the organization unit for example group then click on ok now clicking on network heroes dot local we can see the group i just move this group to the group and click on s on the prompt if we click on group we can see the group ftp dash access now i'm going to make the users user 1 user 2 user 3 the member of this group ftp dash access so for that uh just click on the ftp access right click click on properties click on members click on add and just type user then click on check names select all the users and click on ok again click on ok click on apply and click on ok ok now the users are the member of this group we are creating group and making the users the member of the group because it will be easier for us to give access to the ftp server to these users who are the member of this group now i just close this window then i go to windows server 2016 now i am going to create a folder on this server and i will place all the files and folders that will be available for the ftp clients so i click on this folder to go to the windows explorer click on this pc and then double click on local disk c right click click on new click on folder and i name the folder as ftp space route whatever i put here that will be available to the ftp clients just for an example i'm gonna create a file so just right click on it click on new click on text document i rename the file as ftp dash test and click on it i write a line this is just a test file from ftp server then i close this file also close this window next i am going to configure ftp server so on the server manager click on manage and click on add roles and features click on next again click on next click on next in windows servers ftp is a part of web server iis so we have to add the role web server iis just click on that click on add features and then click on next here some features or some tools are automatically selected just leave them and click on next i scroll down a bit here you will see the ftp server if you click on ftp server ftp service will automatically be selected it's okay now click on next then click on install as we saw so many services or tools were automatically selected so the installation process may take some time i just pause this video and i will be back when the installation is complete okay the feature installation is complete now click on close now click on tools and then click on internet information service iis manager here if you expand network use dash ftp then we can see sites folder here if you expand the sites you can see default website this is the default site or default webpage of iis server just click on it and on the right side you can see the browser website just click on browse uh at http it will open the default page on a browser here we can see the default page of the iis server just close the browser now we have to do something for ftp just click on sites right click and here we can see add ftp site just click on this click on ftp site name for example i give the ftp site name as ftp dash main content directory physical path here we have to locate the folder on which uh files and folder will be stored to make available for the ftp client to access those files and folders we have already created that folder on the local disk c of this server so just click on these two dot expand the local disk c here we can see ftp root just select it and then click on ok now click on next here you need to bind the ip address so click on the drop down and click on 10.10.10.16 this is the ip address that's configured on my uh ethernet adapter uh the port is 21. if you have any public ip configured on any network adapter or the ethernet card then you can specify that so that you can access the ftp server from public network as well but for this demo i don't have the public ip address configured on this uh machine so i'm going to use this ftp server on my local network so i just bind this ip address to the ftp service then make sure that start ftp site uh automatically this will start ftp service uh when the server is starts just click on no ssl i'm not going to install ssl certificates on the ftp server as this is just for a demo so i click on no ssl and then click on next here on the authentication we can see anonymous and basic anonymous means anyone can login to the ftp server this will not ask for any authentication i'm not going to select anonymous so i select the basic and for authorization allow access to specified roles and user groups because we have created some users from which ftp server can be accessed and for the roles or user groups i give the group on which i moved the users that is ftp dash access for the permissions i click on read and write and then click on finish okay now we are done with ftp configuration on this server if you click on ftp dash main and here you can see ftp authentication ftp authorization ftp client session from here you can manage uh the session and uh the ftp clients now i just minimize this window and now i'm gonna verify the ftp access from the ftp client now i move on to a windows 10 which i'm gonna use as the ftp client and here in windows 10 i have installed filezilla client filezilla is an application that connects a computer as a client to the ftp server and here on the host i give the address of the ftp server that is 10.10.10.16 username as any user that we created on the domain controller for example user1 and then i give password of that user then click on quick connect if you are prompted to remember passwords you can choose any of these options for now i'm just selecting save passwords and click on ok it's trying to connect to the ftp server but unfortunately uh we saw connection timed out after 20 seconds of inactivity and could not connect to the server so i'm gonna troubleshoot this problem first of all i go to my domain controller then click on users double click on the user click on account then check on unlock account also uncheck the user must change password in the next logon and then click on password never expires then click on apply and click on ok now again i go to windows 10 the ftp client and try to connect to the ftp server let's see if uh we are lucky for that it's still taking a time that means it's still unsuccessful i think the firewall might be blocking the ftp connections to the server so i just go to uh windows server 2016 which we have configured for ftp server and i open firewall on the firewall here click on turn windows firewall on or off turn off windows firewall for domain network seating and also for private network setting for public network settings as well this is uh not really recommended but just for demonstration and just for troubleshooting purpose we are doing that and then just click on ok now we will go to windows 10 and click on quick connect as you can see the connection is successful to the ftp server it's saying insecure ftp connection this server does not support ftp over tls we haven't configured any ftp over tls that means we haven't installed ssl certificates on the ftp server that's okay for demonstration purpose and then click on ok here we go we can see the directory listed from the remote site if you click on this slash directory we can see the ftp dashtest.txt file which we created on the ftp server to download this file just right click and click on download and as you can see transfer finished all files have been successfully transferred this means the file is downloaded to this computer windows 10 and as the user is selected the file should be in that user's home directory to verify just click on the windows explorer click on this pc double click on local disk c double click on users double click on the user sanjay regni and here you can see the ftp test file that's downloaded from the ftv server that we just configured we just downloaded a file from the ftp server we can also upload files on the ftp server so for that right click for that you can just drag and drop the file from your local directory to the remote site directory or you can create new files here i'm gonna name the empty file as test file windows 10 i forgot to give the extension so i rename right click and click on rename then at the end of the name i add dot txt and hit enter although firewall rule for ftp connections are already created at the time of installing and configuring ftp server that's not always going to work you will need to create your one firewall rule to listen and allow for the ftp connections on the windows server 2016 or windows server 2019 okay that's all for now i hope the video was useful to you thanks for watching this video see you in the next until then have a nice time goodbye
Info
Channel: Enkripsan
Views: 7,221
Rating: undefined out of 5
Keywords: ftp server, ftp, filezilla, ftp in windows server 2019, windows server 2019, setup ftp server 2019, setting up an ftp server on windows server 2019, file transfer protocol, step by step installation and configuration ftp server 2019, install file transfer protocol server 2019, windows server 2019 ftp, how to install and configure ftp server, install ftp and iis in windows server 2019, ftp server configuration, setting up ftp server
Id: 8IIWEv26t9I
Channel Id: undefined
Length: 30min 5sec (1805 seconds)
Published: Tue Feb 15 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.