How to test universal link in local server

I have added some extra cases to the existing universal link handling flow in the code and also handled some cases in AASA file too. I wish to test in local server before taking it to live server.

I have added mode=developer in associated domain as shown below.

applinks:example.localserver.com?mode=developer

I have also enabled Associated Domains Development option in my iphone from Settings >> Developer >> Under UNIVERSAL LINKS option.

For example my 2 different servers:

Live server = example.liveserver.com Local server = example.localserver.com

I have also hosted my AASA file in both local and live server. But it is not working in local. It is showing some file bytes exists error. But my file has just 7 lines of code. I wish to know how it in my local server.

How to test universal link in local server
 
 
Q