gobuster dir -u http://target.com -w wordlist.txt -s 200,301,302,403
The vhost mode is used to find virtual hosts on a target web server (not subdomains, but different domain names on the same IP). gobuster commands upd
gobuster dir -u http://example.com -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt -t 20 -v -o output.txt gobuster dir -u http://target