It works , Thanks fam .
One more question
Lets say I have domain.com
And I want the directory 1 to be sync.domain.com , and I already made Type A record however it will work also for the second directory. Which DNS type to use to mske it only work for directory since in type A i can only make IP not IP+Location