Hosting is definitely a skill that some people have and some people don't. If you didn't grow up in a big hosting household you can feel uncomfortable with the idea of inviting people over, but it's definitely something you can work on.
That all being said… You are under no obligation to host anyone ever, especially overnight and especially people you don't really know. We are all adults here, and it's ok to admit that it's uncomfortable to have strangers sleeping in the room next to you. There's a reason our homes aren't hostels.