I checked the difference between near and nearby to be: the first is a preposition and the second is an adverb that can’t work as a preposition as in this example.
I put the box near the door ( This is correct)
I put the box nearby the door (Said it’s wrong. Is it?)
But in this example it’s said near is wrong because it can’t be used before a noun to refer to distance: I hope to visit you in your near home. (Is it wrong? If it is, then what can be used instead of ‘near’ here?)
Another difference I found is that (nearby) can be before or after nouns but not (near) as in this example.
I stayed at a nearby hotel. (nearby before a noun). Can’t I use near here instead?
I stayed at a hotel nearby. (nearby after a noun). I know it won’t sound right to use near here!
Could you please explain more on this? Thank you.