Additional Subdomain on Droplet and Hosts File

Saw at To deploy a second site that I should just the ip. for under production. But not sure if I should keep the domain under [web]