I signed up for an unlimited everything hosting account yesterday. I have two domain names that I am gonna host their. Basically, inside the root directory, I will create a directory for one domain and another directory for the other domain. Can I place two different robots.txt files (one for each domain) in each directory? I am confused ....
Yes, absoultely. Once you create a directory for a domain and point ( or match or set) your domain to that directory the directory becomes root for the particular domain. So you can put any robot.txt , sitemap.xml or .htaccess files in that directory without affecting the other domain.