Hello,
You can change your domain's document path with the help of this command.
======================
C:\Windows\System32\inetsrv>appcmd set vdir "Default Web Site/" -physicalPath:"C
:\inetpub\wwwroot\test
VDIR object "Default Web Site/" changed
======================
Thank you,