Steps for adding ads.txt file to website
Step 1. Login to web hosting panel account such as hostinger.
Step 2. Go to file manager in the web hosting panel dashboard
Step 3. Open domains folder in the file manager
Step 4. Open the website folder where ads.txt has to be added.
Step 5.
Open the public_html folder
Step 6.
In the root directory upload the ads.txt file
downloaded from adsense acount
Step 7. Check live file at domain.com/ads.txt
Click for more details of adding ads.txt file to website in hostinger
Learn more